A server for the Reci-P app. Uses Google cloud SQL
For local development, clone the repository and create a src/db/config.json
file. In this file, put:
{
"GCLOUD_PROJECT": "your-project-name",
"DATA_BACKEND": "cloudsql",
"MYSQL_USER": "your-sql-user",
"MYSQL_PASSWORD": "your-sql-password",
"INSTANCE_CONNECTION_NAME": "your-connection-name"
}
- To run the server use either
npm run start
oryarn start
. - To build the server for deployment run
npm run build
oryarn build
- This will give you access to the
deploy
script which you can use to deploy the app on GAE withnpm run deploy
oryarn deploy
- This will give you access to the