Nest.js RESTful API for Organick grocery store This is a website for Organick, a fictional organic grocery store. Organick is a website that offers a range of organic products, provides users with the ability to browse and purchase products. The website has a modern and user-friendly design that emphasizes the importance of natural and organic living.
- Clone the repository:
git clone https://github.com/organick-store/api/
- Open folder organick-api
cd organick-api
- Install dependecies:
npm i
- Create .env file and put there you data about DB, JWT-tokens and mail
- Set up your DB using setup/setup.sh script:
sh setup.sh
Note You have to have pgAdmin and PostgreSQL installed on your machine
- Now we need to fill products table, run
npm run migration:run
- After you set everything up, you can go to organick-api directory back and run
npm run start
to statt the server
- Clone the repository:
git clone https://github.com/organick-store/api/
- Open folder organick-api
cd organick-api
- Install dependecies:
npm i
- Now you can run tests:
npm run test