Skip to content

LearnDialogue/connexx-chainlink

Repository files navigation

CHAINLINK README

PLEASE READ THE ENTIRE CONTENTS OF THE README BEFORE CONTRIBUTING

Contents

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

Github/Workflow

Client

Server

Tech Stack

  • React.js client
  • Node.js server on AWS EC2
  • Apollo Graphql
  • MongoDB

Dev Environment

npm install in both client and server directories.

Connect to database

  1. Install MongoDB locally

  2. Create a .env file in /Chainlink-Server, and copy the contents of /Chainlink-Server/.env.example into the file. Change the following variables:

    SECRET: Set to the private value stored on the Atlas backend.
    MONGODB: Set to the MongoDB connection URI.

  3. Create a .env file in /Chainlink-Client, and copy the contents of /Chainklink-Client/.env.example into the file.

Start server

From /ChainLink-Server

npm run start

Start client

From /ChainLink-Client

npm run dev

Unit Tests

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

Troubleshooting

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

IMPORTANT

  1. Create separate branches for different features/tests
  2. Keep pull requests centralized on one issue/feature
  3. Use prettier/eslinting to clean up code and for formatting
  4. Use meaningful variable names and file names
  5. Write unit tests for each feature before merging with main branch
  6. Before merging to main branch, pass SonarQube tests with an 80% or more
  7. Update/Create READMEs with any information regarding setup or documentation on APIs

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 18