Tipaw-Take-Tome-Thallenge

What's this?

This is simple code challenge for JavaScript Developer in Tipaw. You can check description here

Development Environment

Initial set-up/install

  • Node.js
  • MongoDB
  • Git
  • Any code editor (e.g. Visual Studio Code, Atom Editor, Notepad ++)

Installing dev environment

  • 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

Running dev

  • Run backend
$ cd backend
$ npm start
  • Run frontend
$ cd frontend
$ npm start

.env

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>