Skip to content

Create a Node.js app for building food recipe RESTful APIs using Express.

License

Notifications You must be signed in to change notification settings

altrawan/food-recipe-api

Repository files navigation


Logo

Mama Recipe : Backend Food Recipe

Create a Node.js app for building food recipe RESTful APIs using Express.
Explore the docs »

View Web Service · Report Bug · Request Feature

Table of Contents

Table of Contents
  1. About The Project
  2. Getting Started
  3. REST API
  4. Contributing
  5. Related Project
  6. Contributing
  7. Contact
  8. License

About The Project

Create a Node.js app for building food recipe RESTful APIs using Express.

Built With

This app was built with some technologies below:

(back to top)

Getting Started

Prerequisites

This is an example of how to list things you need to use the software and how to install them.

Requirements

Installation

  • Clone the Repo
git clone https://github.com/altrawan/food-recipe-api.git
  • Go To Folder Repo
cd food-recipe-api
  • Install Module
npm install
  • Make a new database and import mama_recipe.sql
  • Setup .env
  • Type npm run dev To Start Development
  • Type npm run start To Start Production

(back to top)

Setup .env example

Create .env file in your root project folder.

# app
APP_NAME=
NODE_ENV=
PORT=
API_URL=
APP_CLIENT=

# database
DB_HOST=
DB_USER=
DB_PASSWORD=
DB_NAME=
DB_PORT=

# jwt
JWT_SECRET=
JWT_EXPIRED=

# google
EMAIL_FROM=
EMAIL_USER=
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
REDIRECT_URI=
GMAIL_REFRESH_TOKEN=
DRIVE_REFRESH_TOKEN=

# redis
RDS_HOST=
RDS_PORT=
RDS_PASS=

(back to top)

REST API

You can view my Postman collection here
Run in Postman

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

Related Project

🚀 Backend Mama Recipe

🚀 Frontend Mama Recipe

🚀 Web Service

🚀 Demo Mama Recipe

(back to top)

Contact

My Email : muhammadalifputra8888@gmail.com

Project Link: https://github.com/altrawan/food-recipe-api

(back to top)

License

Distributed under the MIT License.

(back to top)