A full-stack reactive e-commerce web application built with Next.js, Tailwind CSS, Prisma, DaisyUI and MongoDB
This is a Next.js project bootstrapped
with create-next-app
.
This project relies on MongoDB Atlas cloud instances for managing resources such as products
and carts
. If you
intend to clone this repository and run it locally, please follow these steps:
.env.sample
file in your project directory to .env
. Then, open the
.env
file and insert the MongoDB URI from your Atlas cluster.Here's what it should look like:
# Database variables
MONGODB_ATLAS_URI=mongodb+srv://<MONGODB_USER>:<MONGODB_PASSWORD>@<MONGODB_CLUSTER_HOST>/<MONGODB_DB_NAME>?retryWrites=true&w=majority
Note: In the example snippet above, you'll notice that the URI includes a database name. While this field is technically optional, it's highly recommended that you create your own database instance on your MongoDB Atlas cluster. This practice helps maintain organization and clarity in your project.
git clone [email protected]:mrarvind90/fcc-impulsivity.git
cd <repository_directory>
Change npm install
This command will install all the necessary dependencies for the application..env.sample
file in your project directory to .env
and update
it with the
relevant credentials: cp .env.sample .env
npm run dev
While developing this project, there are several areas I plan to focus on for enhancements and refinements which can be found on GitHub.