Clonestagram
This is the backend repository of Clonestagram: A replication of Instagram
Dev Stack
- Node.js
- Express
- MySQL
Contributing
✔ (최초 1회) 초기 설정
-
Fork the repo on GitHub
-
Clone the project to your local environment
-
Set james0918/Clonestagram to upstream repo
$ git remote add upstream https://github.com/jamesj0918/Clonestagram
❗ 매번 순서대로 진행
-
Pull the latest from upstream
$ git pull upstream develop
-
Commit changes to your own branch
-
Push your work back up to your forked repo
-
Submit a Pull request so that we can review your changes
Dependencies
- Node.js
- express
- mysql2
- crypto
- jsonwebtoken
- cors
- multer
Required Enviroment Variables
- DB_HOST : Host for DB Connection
- DB_USER : Username for DB
- DB_PASSWORD : Password for DB
- DB_DATABASE : Name of Database
- SECRET_KEY : Secret key used for JWT
- API_PORT : API Port (3000 for default)
- API_HOST : API Host (localhost for default)