Code examples to go with the blog post available here
-
Node.js - I recommend installing Node using either nvm or fnm
-
Solana Tool Suite - You can see the installation instructions here. note - I had a very hard time getting everything working on an M1 Mac, mainly
solana-test-validator
andcargo-build-bpf
. I finally figured it out, and posted my solution here. I'm sure at some point this will be fixed and work out of the box. -
Anchor - Anchor installation was pretty straight-forward for me. You can find the installation instructions here.
-
Solana browser wallet - I recommend Phantom, which is what I have tested this app with.
- Clone the repo
git clone [email protected]:dabit3/complete-guide-to-full-stack-solana.git
-
Change into the project directory you'd like to run
-
Install the dependencies
npm install
- Start a local Solana node
solana-test-validator
- Build the anchor project
anchor build
- Fetch the project ID for the build:
solana address -k target/deploy/<programname>-keypair.json
-
Update the project ID in the Rust program located at projectname/programs/src/programname.rs with the output from above.
-
Run the tests
anchor test
- Change into the app directory and install the dependencies:
cd app && npm install
- Run the client-side app
npm start
- Learn Basic of:
- HTML
- CSS
- JavaScript
- Develop Simple Project using these technologies to understand how does the website actually work.
- Choose any 1 Front-End Technology:
- React JS
- Vue JS
- Angular
- Along with Front-End we need to study Back-End also:
- Java
- Python
- C#
- Ruby
- Php
- Node JS
- We need databases to store the data:
- SQL
- MYSQL
- SQL Server
- Oracle
- Postegre SQL
- NOSQL
- MongoDB
- Casssandra
- CouchDB
- Then we have different versions of the developed software with some changes, so we use:
- Git
- GitHub/GitLab/BitBucket
- Finally we need one of the Cloud Services to host the website:
- Google Cloud Platform
- Microsoft Azure
- Amazon Web Service
- Heroku
- Some containers used in Cloud Services:
- Docker
- Kubernetes