This is a recipe application developed as part of the Odin Project, a full-stack JavaScript curriculum. The application allows users to view, create, update, and delete recipes. It showcases the utilization of HTML, CSS, JavaScript, Node.js, and MongoDB.
- Recipe List: Display a list of all recipes added by users.
- Recipe Details: View detailed information about each recipe, including ingredients, preparation steps, and comments from other users.
- Add New Recipe: Create a new recipe by providing the necessary information.
- Edit Recipe: Update the details of an existing recipe.
- Delete Recipe: Remove a recipe from the database.
- Search: Search for a specific recipe using keywords.
To get the application running locally:
- Clone this repo
git clone https://github.com/yourusername/odin-project-recipe.git
- Install NPM Packages
npm install
- Run the Application
npm start
The application will start on localhost:3000
In order to connect with the MongoDB database, you need to provide the following environment variables:
DB_URI
: URI to your MongoDB databaseDB_NAME
: Name of your MongoDB database
To seed the database with sample data, run the following command:
npm run seed
To run tests, execute:
npm test
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
This project is licensed under the MIT License.
This project was created as part of the Odin Project curriculum.
For more information or help, please check the Odin Project Community.