- Description
- CHAINLINK Links
- READMEs
- Tech Stack
- Dev Environment Setup
- Pull Request/Contribution Guidelines
Description ⇧
CONNEXX-CHAINLINK is a website for bikers that would like to plan group cycling sessions. CHAINLINK's main focus is the pre-ride aspect of transportation apps. It allows users to create group rides and invite specific people to their group rides.
CHAINLINK Links ⇧
Production site: https://chainlink.connexx-ai.com
Dev site: https://dev.chainlink.connexx-ai.com
When running the development site and the production site, you must create a new account for each site.
Links to other ReadMe ⇧
Tech Stack ⇧
- React.js client
- Node.js server on AWS EC2
- Apollo Graphql
- MongoDB
Dev Environment ⇧
npm install in both client and server directories.
-
Install MongoDB locally
-
Create a
.envfile in/Chainlink-Server, and copy the contents of/Chainlink-Server/.env.exampleinto the file. Change the following variables:SECRET: Set to the private value stored on the Atlas backend.
MONGODB: Set to the MongoDB connection URI. -
Create a
.envfile in/Chainlink-Client, and copy the contents of/Chainklink-Client/.env.exampleinto the file.
From /ChainLink-Server
npm run start
From /ChainLink-Client
npm run dev
To see more about unit tests and how make new or edit them, see extended Documentations on Doc https://docs.google.com/document/d/16Fp5jeCvegvXW0t8ZyvFFtjf0gpY09XBIArlS9qdcG0/edit?usp=sharing
If there are any issues with the commands above, make sure you have the proper Node.js version installed. To check what version is installed run node -v. Make sure you have the latest version of node installed Node installation guide.
Pull Request/Contribution Guidelines ⇧
- Create separate branches for different features/tests
- Keep pull requests centralized on one issue/feature
- Use prettier/eslinting to clean up code and for formatting
- Use meaningful variable names and file names
- Write unit tests for each feature before merging with main branch
- Before merging to main branch, pass SonarQube tests with an 80% or more
- Update/Create READMEs with any information regarding setup or documentation on APIs