yarn install
yarn start
cd backend
- Start by installing all dependencies by running
npm install
- Next create a
.env
file at the root of the project and copy everything from.env.example
- copy files from
.env.example
to.env
usingcp .env.example .env
then populate it with required values where necessary.
Note: please ensure that you have mysql installed locally and is running.
- Create database and update database name in
.env
- run
npm i
ornpm install
to install all dependencies - run
npm run dev
to start a dev server - run
npm start
in a production environment