API is build using Express.
-
Make sure you have installed node and yarn to run the project.
$ node --version
$ yarn --version
-
Clone the application and navigate to the project directory.
-
Use
yarn
to install the dependent packages. -
Setup environment variables for local environment in
.env
file by looking in.env.sample
. -
User
yarn dev
to run the project locally. Your local server runs on port 3000 if everything goes fine. And you are ready to go.
Use Git Flow to contribute on the project.
TravisCI has been used for CD. So, all you need to do is merge the code in master
branch in order to deploy the code.