This is a clon of Tesla Shop site made with Next.js 12.2: It was done with learning purposes and it uses Typescript, NextAuth, Paypal, Cloudinary and MongoAtlas. It was deployed in Heroku.
- To run the project locally we need the database
docker-compose up -d
- -d means detached
Rename .env.dist to .env and fill the values
- MogoDB URL local
mongodb://localhost:27017/teslodb
yarn
yarn dev
Call:
http://localhost:3000/api/seed