YumYard is a dynamic web application designed to help users discover, manage, and share recipes. This repository contains the backend-side code for YumYard.
- Recipe Management: Handle CRUD operations for recipes.
- User Authentication: Manage user login, registration, and profile.
- API Endpoints: Provide various endpoints for the frontend to interact with.
- Database Management: Manage recipe and user data in a PostgreSQL database.
- Clone the repository:
git clone https://github.com/azdinserhani/Yum-Yard-backendSide.git
- Navigate to the project directory:
cd Yum-Yard-backendSide
- Install the dependencies:
npm install
- Create a
.env
file in the root directory and add your environment variables:DATABASE_URL=your_database_url_here JWT_SECRET=your_jwt_secret_here
- Run the database migrations:
npx sequelize-cli db:migrate
- Start the development server:
npm start
- The server will be running at
http://localhost:5000
. - You can use tools like Postman to test the API endpoints.
- Node.js: JavaScript runtime environment.
- Express.js: Web framework for Node.js.
- PostgreSQL: Relational database system.
- JWT: For user authentication.
- dotenv: For managing environment variables.
Contributions are welcome! Please follow these steps to contribute:
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch
). - Make your changes.
- Commit your changes (
git commit -m 'Add some feature'
). - Push to the branch (
git push origin feature-branch
). - Open a pull request.
If you have any questions or suggestions, feel free to contact me:
- Name: Serhani Az-eddine
- Email: [email protected]
Thank you for contributing to YumYard! We hope it enhances your cooking experience.