Lynxmasters Api Lynxmasters UI
To contribute to this project we ask that everyone follow the processes needed to avoid conflicts and issues with development lifecycle.
-
Following the issue tracker, pick your selected work focus
-
Create your own work branch following the described nomanclature:
name/user-endpointsorname/email-verification -
Commit and push your local changes to remote, adding the issue # you're working on in the commit message. This will reference your commit in the issue.
Example: "#ISSUE_NUMBER: commit message"
git commit -m "#12: user endpoints completed"- Open a Pull Request (Resolve any merge conflicts if needed)
- Add the following reviewers @ianarsenault @j-arsenault @tylerdcorwin @nmonty9
- Once peer reviewed your pull request will either be merged or changes will be requested
To run MongoDB
# starts mongodb
mongodNext you will need to configure an env file
cp example.env .envOpen the newly created .env file and update the environment:
DEV_UPLOAD_LOCATION="/your/path/to/lynxmasters-ui/static/uploads"
NODE_ENV="dev"
To run API
cd path/to/project/root
# install dependencies
npm install
# run server at localhost:8081
npm run devFor PC
# run server at localhost:8081
npm run dev:pc- In server directory, create a new directory called
config
cd path/to/project/root
# creates config directory
mkdir config
cd config- Create a
.envfile for sendgrid variables
# create .env file named sendgrid.env
echo "SENDGRID_API_KEY='YOUR_API_KEY'" > sendgrid.env- Open up
sendgrid.envand edit it to the following
SENDGRID_API_KEY='YOUR_SENDGRID_API_KEY_HERE'
NO_REPLY_EMAIL='do_not_reply@example.com'
SUBJECT='Custome subject....'- Sendgrid will now work
![]() |
|||
|---|---|---|---|
| Nick Montalbano | Ian Arsenault | Tyler Corwin | Jameson Arsenault |
