Git Product home page Git Product logo

mrarvind90 / fcc-impulsivity Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 342 KB

A full-stack reactive e-commerce web application built with NextJS, Tailwind CSS, Prisma, DaisyUI and MongoDB

Home Page: https://fcc-impulsivity.vercel.app

License: MIT License

JavaScript 1.14% TypeScript 98.66% CSS 0.21%
daisyui freecodecamp mongodb next-auth nextjs postcss prisma tailwindcss typescript zod

fcc-impulsivity's Introduction

freeCodeCamp Social Banner

Vercel Typescript NodeJS NPM NextJS CSS3 Tailwind CSS daisyUI Prisma MongoDB ESLint Prettier

Impulsivity

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.

Libraries / Frameworks / Databases Used

  • Application
    • Next.JS
    • next-auth
  • Component Library
    • daisyUI
  • CSS
    • CSS 3
    • Tailwind CSS
  • Database
    • MongoDB
    • Prisma
  • Formatting & Linting
    • Prettier
    • ESLint

Pre-requisite

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:

  1. Create a MongoDB Atlas Account: To get started, you'll need to create an account on MongoDB Atlas, and the good news is, it's absolutely free! You can follow the step-by-step instructions in the MongoDB Atlas Tutorial โ€“ How to Get Started provided by freeCodeCamp to set up your own cluster.
  2. Configure Your Environment Variables: After setting up your MongoDB Atlas cluster, you'll need to configure your environment variables. To do this, rename the .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.

Getting Started

  1. Clone the repo:
    git clone [email protected]:mrarvind90/fcc-impulsivity.git
    
  2. Navigate to the repository:
    cd <repository_directory>
    Change <repository_directory> to the name of the cloned directory.
  3. Install Dependencies:
    npm install
    This command will install all the necessary dependencies for the application.
  4. Configure Environment Variables: Rename the .env.sample file in your project directory to .env and update it with the relevant credentials:
     cp .env.sample .env
  5. Run the application:
     npm run dev
  6. Launch the application on http://localhost:3000/

Future Improvements

While developing this project, there are several areas I plan to focus on for enhancements and refinements which can be found on GitHub.

fcc-impulsivity's People

Contributors

mrarvind90 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.