Baker’s application server is based on Express with Parse Server, Parse Dashboard and GraphQL endpoints attached. Server script supports 3 modes: standard, watch and debug. In all 3 modes, you will end up with a server running on port 8000 with a few endpoints exposed:
The Parse Dashboard requires authentication with the credentials defined in /settings/development/server.json. Default credentials are:
{
"user":"admin",
"pass":"admin"
}
npm run server
In watch mode, the server will automatically restart when you change any javascript file in the server directory:
npm run server:watch
When running in debug mode, you can use Node Inspector to debug server side code:
npm run server:debug