This project is for researching only so that it doesn't cover all aspects for a fullfiled shopping cart.
This project is tested against the following packages:
- nodejs 20.9
- typescript 5.2
- vitest 0.34
- prisma 5.4
- expressjs 4.18
Keep in mind that the versions above are not hard requirements.
At root of project, run npm to install library:
npm installThen copy .env.example file to .env and correct your own settings:
copy .env.example .envTo deploy this project at your localhost:
npx prisma migrate dev
npm run devTo deploy this project at a production server:
npx prisma deploy
npm run serverCode of this project comes with unit & integration tests by using Vitest. The following command to run tests:
copy .env.example .env.test
npm run testCopyright (c) 2023 Luong, and distributed under the MIT License.