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
Create a Node.js app for building food recipe RESTful APIs using Express.
This app was built with some technologies below:
- Node.js
- Express.js
- JSON Web Tokens
- Nodemailer
- PostgreSQL
- Bcrypt
- Google APIs
- Socket.io
- Redis
- and other
This is an example of how to list things you need to use the software and how to install them.
- 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
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=
You can view my Postman collection here
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.
- 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
My Email : [email protected]
Project Link: https://github.com/altrawan/food-recipe-api
Distributed under the MIT License.