The backend repo for exchange
Command | Behavior |
---|---|
npm install |
install dependencies |
npm start |
start the backend server listening on port 8000 |
- Run
npm install
to install dependencies. - Create file named ".env" in the root directory.
- Inside the .env file, put in the following values.
DB_CONNECTION='ASK TONY FOR THIS'
TOKEN_SECRET='ANY STRING YOU WANT'
CLOUDINARY_NAME=ASKFRANK
CLOUDINARY_KEY=ASKFRANK
CLOUDINARY_SECRET=ASKFRANK
- Run
npm start
to host the server on port 8000. - A detailed guide on how to make API calls to the server is in the API documentation down below.