This project is a e-commerce project. It uses Next.js, alongside with ShadcnUI components, Auth.js and Prisma. The main goal of the project is to create a good looking UI, while developing a working product. Most of the main functionalities will be using mocking systems, like payment. Seeding will be used for providing the bare minimum for the UI. Aiming to mantain the scope, management pages will not be added, such as adding new entries of games, categories, etc.
The expected functionalities are as follow:
- Mocking sales system, with shopping cart, sales history, etc.
- Authentication for each user.
- Review system.
The currently employed technologies are as follow: -Next.js -React.js -TailwindCss -ShadcnUI -Auth.js -Prisma (PostgreSQL)
For running the project some few steps are required. Node.js and PostgreSQL must be installed.
- Run
npm install
. - Setup .env, required env's bellow..
- Run
npx prisma migrate deploy
- Run
npm run seed
. - Run
npm run deploy
- Optional: Run
npm run seedReview
after at least a user login.
.env example: DATABASE_URL="" AUTH_SECRET="" AUTH_GITHUB_ID="" AUTH_GITHUB_SECRET="" NEXT_PUBLIC_APPLICATION_URL="" NEXTAUTH_URL= AUTH_TRUST_HOST=
- Initiate the project.
- Implement Auth.js.
- Create initial database setup.
- Create basic UI starting point.
- Implement fully functional TopBar with SideBar menu.
- Create starting page.
- Create functional Games page.
- Add functional Shopping Cart.
- Seeding for the database.
- Create pseudo payment process.
- Add responsivity.