All of nivea-redeem project
- clone this repository
cd rewards-frontend
yarn install
to install project dependencies.- create
.env
file from.env.example
. - edit
API_URL
then save the file. yarn dev
to start development server.
- Install nodemon with following command
npm i -g nodemon
- Install knex cli with following command
npm i -g knex
- Copy
.env.example
to.env
with following command
cp .env.example .env
- Add value to field without doube-quote(
""
) or single-quote(''
) in file.env
- Migrate table with following command
yarn migrate