https://github.com/joshaaronlevy/midnight-express
https://github.com/joshaaronlevy/midnight-express
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/joshaaronlevy/midnight-express
- Owner: JoshAaronLevy
- Created: 2019-10-11T10:11:08.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T22:31:15.000Z (over 2 years ago)
- Last Synced: 2025-01-19T08:36:22.313Z (4 months ago)
- Language: JavaScript
- Size: 395 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- Changelog: changelog.md
Awesome Lists containing this project
README
# Midnight Express
A Node/Express CLI with database integration
## Installation
`npm i -g midnight-express`
## Getting Started
* Set up a new midnight-express project with
`midnight-express create`
* Follow the following prompts
## Prompts
1. Name your project
2. Create a custom initial route name
1. This creates an example route with base API calls
2. Default is 'puppies'
3. Choose a data source
1. 'Static JSON' will generate a JSON file with sample data
2. 'Database' will allow you to select a SQL database to include in the dependencies
4. Choose one of the following SQL databases (NOTE: implements Knex.js for queries)
1. PostgreSQL
2. SQLite
3. MySQL
4. MariaDB
5. Other (Skips install, in case desired database is not in the list)