npm install
you'll need :
- postgres server (for faster setup you can use docker (for development))
- don't forget to create database required by this application.
- all connection setting should be placed in .env file environment variables :
API_PORT=3001
PGHOST='localhost'
PGUSER='postgres'
PGDATABASE='fdn_test'
PGPASSWORD=null
PGPORT=5432
this application consist of two part :
- API application : express application (runs on port 3001)
- Front End : next.js + React application with ant design react component (runs on port 3000)
- API :
from project root directory do
cp api
directory and runnpm test
- Front End
from project root directory do
cp E2E-test
directory then runyarn test
- API Apps :
cd
to api directory then :- npm install
- npm run
- Front End Apps :
cd
to front-end directory then :- yarn install
- yarn run dev