This is simple code challenge for JavaScript Developer in Tipaw. You can check description here
- Node.js
- MongoDB
- Git
- Any code editor (e.g. Visual Studio Code, Atom Editor, Notepad ++)
- Clone from github
$ git clone https://github.com/lacmansoftware/tipaw-take-home-challenge.git
- Install backend node.js modules
$ cd backend
$ npm install
- Install frontend node.js modules
$ cd frontend
$ npm install
- Run backend
$ cd backend
$ npm start
- Run frontend
$ cd frontend
$ npm start
You can add .env file to change configuration in backend and frontend.
- backend
MONGODB_URI="<YOUR-MONGODB-URL>"
FRONTEND_ENDPOINT="<FRONTEND-ENDPOINT>"
PORT="<PORT-NUMBER>"
- frontend
# development
API_AUTH_ENDPOINT=<YOUR-API-AUTH-ENDPOINT>
# production
# API_AUTH_ENDPOINT=<YOUR--API-AUTH-ENDPOINT-IN-PRODUCTION>