Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/123mwanjemike/nodejs_mysql
Node.js Restful CRUD API with Node.js, Express and MySQL. This is API for the tutorial that demonstrates how to deploy a mysql application on Heroku for free. The article is in the link below.
https://github.com/123mwanjemike/nodejs_mysql
api autoidle demo deployment heroku mysql nodejs
Last synced: about 8 hours ago
JSON representation
Node.js Restful CRUD API with Node.js, Express and MySQL. This is API for the tutorial that demonstrates how to deploy a mysql application on Heroku for free. The article is in the link below.
- Host: GitHub
- URL: https://github.com/123mwanjemike/nodejs_mysql
- Owner: 123MwanjeMike
- License: mit
- Created: 2020-09-15T17:06:24.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-01-21T11:26:02.000Z (almost 3 years ago)
- Last Synced: 2024-05-20T21:31:32.234Z (6 months ago)
- Topics: api, autoidle, demo, deployment, heroku, mysql, nodejs
- Language: JavaScript
- Homepage: https://autoidle.com/blog/how-to-create-a-my-sql-application-on-heroku
- Size: 186 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Nodejs with MySQL
This is a demo mysql nodejs API for the tutorial [How to create a MySQL application on Heroku](https://autoidle.com/blog/how-to-create-a-my-sql-application-on-heroku) on [autoidle](https://github.com/autoidle)'s blog. The tutorial demonstrates how to deploy a mysql application on Heroku for free.## Setup
1. Create a mysql database of your choice:
```
CREATE DATABASE <>;
```2. Create a `.env` file with all the variables as listed in `./.env.example` and fill in their values respectively.
3. Run the start script
```
npm run start
```