by wojKr
Simple website built using Node.js Express, MongoDB and Passport auth. My first full stack project.
Currently the project contains:
- Working email contact form,
- Full auth with confirmation powered by Passport,
- User accounts (CRUD),
- Dessert section (CRUD) with rating and reviews.
- Node.js,
- Express,
- MongoDB,
- EJS,
- MapBoxAPI,
- Cloudinary,
- Node packages:
- Mongoose (MongoDB's object modeling tool),
- Helmet (security),
- Sanitize-HTML & express mongo sanitize (antiXSS),
- Joi (validation):
Before you can run this project locally, please ensure that you have the following requirements met:
-
MongoDB Installed: Make sure that MongoDB is installed on your machine. If you haven't installed MongoDB yet, you can download and install it from the official MongoDB website: https://www.mongodb.com/try/download/community
-
MongoDB Running: Ensure that MongoDB is running on your machine. You need to have a running MongoDB instance for this project to work. You can start MongoDB by running the appropriate command for your operating system. For example, on Linux or macOS, you can start MongoDB by running the following command in your terminal:
Having MongoDB installed and running on your machine is essential for the project to connect to the database and function properly. If you encounter any issues related to MongoDB connectivity, please refer to the MongoDB documentation or seek help from the project's community.
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.