Mango Deliveries is a freighting website for EVE Online.
- Clone this repository.
- Run
npm install - Go to https://developers.eveonline.com/ and create an application.
- Set "Connection Type" to "Authentication Only" and "Callback URL" to the url that users will be redirected to after login (locally
http://localhost:3000/callbackfor development). - Create a .env file at the root of the project that sets the required environment variables below (see .env.example).
- Run
npm run devto run both the express back-end and react front-end.
EVE_CALLBACKThe URL to redirect to after the EVE SSO logs in the user, that has also been set in the EVE application configuration. This needs to use the same port as the react front-end.EVE_DELIVERIES_SESSION_SECRETA cryptographically secure secret for the cookie system to use.EVE_IDThe client ID to use to communicate with the EVE API, obtained from the EVE application creation process in https://developers.eveonline.com/.EVE_SECRETThe EVE Secret to use to communicate with the EVE API, obtained from the EVE application creation process in https://developers.eveonline.com/.MYSQL_DATABASEName of the database to use for the connection.MYSQL_PASSWORDThe password of the MySQL user.MYSQL_USERThe MySQL user to authenticate as.
DEBUGSet toexpress-sessionto enable printing debug output for express sessions.MYSQL_CONNECTION_LIMITThe maximum number of connections to create at once. Defaults to 10.MYSQL_HOSTThe hostname of the database you are connecting to. Defaults tolocalhost.MYSQL_PORTThe port number to connect to. Defaults to 3306.NODE_ENVSet todevin a development environment, empty otherwise.PORTThe port that the express back-end will use. Defaults to 3001.


