2.0.8 • Published 7 months ago
generate-gemforce-api v2.0.8
generate-gemforce-api
Create a new Gemforce project
Typescript code generator for Gemforce server
npx generate-gemforce-api <project-name>
then
cd <project-name>
yarn install or npm install
yarn build or npm run build
yarn start or npm start
Example
to see what this generator creates for you checkout this project
Used libraries
Commands
Starting app:
yarn start or npm start
Environment Variables
The environment variables file can be found and modified in the .env
in root of project.
# Port number
PORT=4000
# CORS
# you can set cors for client your application
CORS_CLIENT_HOST=http://localhost:3000
Project Structure
src\
|--cloud-functions\ # cloud functions
|--triggers\ # triggers
|--jobs\ # jobs
|--host\ # application host layer
|--app.ts # express app
|--.env # environment variables file
|--index.ts # application entry point
1.0.9
7 months ago
1.0.8
7 months ago
2.0.3
7 months ago
2.0.2
7 months ago
2.0.5
7 months ago
2.0.4
7 months ago
2.0.7
7 months ago
2.0.6
7 months ago
2.0.8
7 months ago
2.0.1
7 months ago
2.0.0
7 months ago
1.0.7
7 months ago
1.0.6
7 months ago
1.0.5
8 months ago
1.0.4
8 months ago
1.0.3
8 months ago
1.0.2
8 months ago
1.0.1
8 months ago
1.0.0
8 months ago