This project covers only the basic functionality on how to create, read, update, and delete data using NextJS with MongoDB. It also has authentication functionality, where the user can sign up and sign in. Moreover, it uses a creative-tim template for the design built on top of Tailwind CSS.
- NextJS
- MongoDB
- TailwindCSS
Developer must have the following.
- NodeJS
- MongoDB Compass
- Cloudinary API Key - (Storing Photos)
Steps on how to install the project locally:
-
Clone the repo
git clone https://github.com/wilken311/shop_nextjs-app.git
-
Install NPM packages
npm install
-
Create
.env.local.
file: For more info visit Environmental VariablesMONGODB_URI="mongodb://0.0.0.0:27017" MONGODB_DB="NAME OF YOUR DATABASE" DEV_URL="http://localhost:3000" CLOUDINARY_URL="ENTER YOUR CLOUDINARY API" NODE_ENV="NODE_ENV";
-
Run the app.
npm run dev;
- Sign-Up
- Sign-In / Sign Out
- Create Data
- Read Data
- Update Data
- Delete Data
- Upload Photo
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE.txt
for more information.
Credits to the following: