- Javascript
- Node.js
- Express
- dotenv
- body-parser
- Next.js
- React
- Chakra-UI
-
Run the database dump
-
cd expenses-api
-
Create a .env file in expenses-api
- PORT=8080
- DB_HOST=[MySQL host on local machine]
- DB_USER=[MySQL user on local machine]
- DB_PASSWORD=[MySQL password on local machine]
- DB_NAME=expense
-
Run
npm install -
Run
npm run dev -
cd expense-tracker
-
Create a .env file in expense-tracker
- NEXT_PUBLIC_API_URL=http://localhost:8080
-
Run
npm install -
Run
npm run dev -
Go to
localhost:3000