Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dylanprimera/ctg-shop
A e-commerce build with NextJS, Prisma, PostgreSQL and Zustand
https://github.com/dylanprimera/ctg-shop
docker nextjs postgre prisma react tailwindcss zustand
Last synced: about 1 month ago
JSON representation
A e-commerce build with NextJS, Prisma, PostgreSQL and Zustand
- Host: GitHub
- URL: https://github.com/dylanprimera/ctg-shop
- Owner: DylanPrimera
- Created: 2024-11-13T19:43:54.000Z (2 months ago)
- Default Branch: master
- Last Pushed: 2024-12-19T16:56:36.000Z (about 1 month ago)
- Last Synced: 2024-12-19T17:40:38.281Z (about 1 month ago)
- Topics: docker, nextjs, postgre, prisma, react, tailwindcss, zustand
- Language: TypeScript
- Homepage: https://ctg-shop.vercel.app
- Size: 17.2 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Run on dev
1. Clone repository
2. Create a copy of ``.env.template`` and rename for ``.env``
3. Install dependencies ``npm or pnpm i``
4. Open Docker Desktop and run the docker compose file ``docker compose up -d``
5. Run migrations ``pnpm exec prisma migrate dev or npx prisma migrate dev``
6. Excecute seed to prepare fake data by ``npm run seed or pnpm seed``
7. Run the project ``npm run dev or pnpm dev``