If you've never used github before set your ssh key
- Clone the repo using git:
git clone [email protected]:NJIT-CLASS/backend.git
- CD into the cloned directory.
- Run
npm install
which will install all the third-party packages the project depends on. - Run
npm start
to start the server and start developing.
- Node.js: Server
- Express.js: Web Server Framework
- MySQL: Database
- Body Parser: Parses JSON
- Argon2: Cryptographic Hashing Function for Passwords
- Sequelize : ORM library to access data base and manipulate data easily.
- Create an SSH key. Run
ssh-keygen -t rsa -b 4096 -C "[email protected]"
- Add the new SSH key to Github
Here are the git commands that you can use to get by for now (if you don't know how to use it).
When you want to send your code to Github. Then these three commands will get you by for now.
git add -A
will stage all the files you changed so that you can commit them (next command).git commit -m 'summary of what you changed'
will save the changes.git push origin master
will send your changes to Github.