Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jumagu/teslo-shop
Tesla's shop clone built with Next.js 14, Auth.js, Tailwind CSS, Prisma and PostgreSQL.
https://github.com/jumagu/teslo-shop
authjs nextjs postgresql prisma-orm react tailwindcss
Last synced: about 1 month ago
JSON representation
Tesla's shop clone built with Next.js 14, Auth.js, Tailwind CSS, Prisma and PostgreSQL.
- Host: GitHub
- URL: https://github.com/jumagu/teslo-shop
- Owner: jumagu
- Created: 2024-04-13T05:59:33.000Z (9 months ago)
- Default Branch: master
- Last Pushed: 2024-08-26T17:29:06.000Z (5 months ago)
- Last Synced: 2024-08-26T20:37:13.811Z (5 months ago)
- Topics: authjs, nextjs, postgresql, prisma-orm, react, tailwindcss
- Language: TypeScript
- Homepage: https://teslo-shop-jmgg.vercel.app
- Size: 16.8 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Teslo Shop
This project was developed in a course I took called "Next.js: the react framework for production" (original title: "Next.js: el framework de react para producción") on Udemy. However, I improved 99% of the visual interface and adapted it to the design of the official Tesla store, since the design of the course project was pretty bad. In addition, I added new features the course project does not have, such as responsive design, form feedback, not-found page, search page, search feature and many other improvements.
## Development
1. Clone the repository `git clone https://...`
2. Create a copy of the `.env.template` file and rename it to `.env`
3. Install node dependencies `npm install`
4. Run the database `docker compose up -d`
5. Run the database `npx prisma migrate dev --name "dev"`
6. Run the seed command `npm run seed`
7. Run the project `npm run dev`### Testing PayPal
- Email: [email protected]
- Password: 0dEl?1/X## Production
```
npx prisma migrate deploy
npm run seed
npm run build
```