This is an template api backend written in node and koa
- Download Node here
Please note that all of these commands are for a unix machine.
- Clone the repository by running the command
git clone https://github.com/Alexander-Wen/backend-templatein your terminal - Go into the folder by doing
cd backend-template - Install all node dependencies by doing
npm install - Run the app by doing
npm start - If you are developing do
npm run devso the server automatically restarts whenever a change to the source code is detected - Go to localhost:4000/api to make sure its running.