Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/masb0ymas/create-expresso-app
https://github.com/masb0ymas/create-expresso-app
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/masb0ymas/create-expresso-app
- Owner: masb0ymas
- License: mit
- Created: 2023-02-18T05:06:06.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-15T08:34:00.000Z (7 months ago)
- Last Synced: 2024-05-17T20:14:55.838Z (7 months ago)
- Language: JavaScript
- Size: 167 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# create-expresso-app
Simple generate starter backend with `expresso-typeorm` or `expresso-sequelize`, run a command like this :
```sh
npx create-expresso-app my-app
```Next step
```sh
cd my-app
```Duplicate .env.example to .env
Customize `Database`, `Redis`, and `Storage` provider configurations, example :
```sh
SEQUELIZE_CONNECTION=postgres
SEQUELIZE_HOST=127.0.0.1
SEQUELIZE_PORT=5432
SEQUELIZE_DATABASE=your_database
SEQUELIZE_USERNAME=postgres
SEQUELIZE_PASSWORD=your_password
SEQUELIZE_SYNC=false
SEQUELIZE_TIMEZONE=Asia/JakartaREDIS_HOST=127.0.0.1
REDIS_PORT=6379
REDIS_PASSWORD=your_passwordSTORAGE_ACCESS_KEY=your_access_key
STORAGE_SECRET_KEY=your_secret_key
STORAGE_BUCKET_NAME=your_bucket_name
STORAGE_REGION=ap-southeast-1
STORAGE_SIGN_EXPIRED=7d
```for `expresso-typeorm` template database configuration like this :
```sh
TYPEORM_CONNECTION=postgres
TYPEORM_HOST=127.0.0.1
TYPEORM_PORT=5432
TYPEORM_DATABASE=your_database
TYPEORM_USERNAME=postgres
TYPEORM_PASSWORD=your_password
TYPEORM_SYNCHRONIZE=true
TYPEORM_LOGGING=true
TYPEORM_MIGRATIONS_RUN=true
```and then,
```sh
yarn dev
```