Skip to content

anticpaysbasque/resolab-chat

Repository files navigation

Résolab

resolab-logo

About the project...

Résolab is a social network project, created for children.

Its aim is to initiate children into developping good habits on social media, by experimenting Résolab.

Prerequisites

Node > 10.16.3 Npm > 6.9.0

Getting Started

git clone
npm install # Install all dependencies
npm run dev # Runs the dev environment
npm start # Runs the prod environment

Environment variables

You have to create a .env file in your root project directory.

`PORT=8000`
# Database host
DB_HOST=localhost

# Database Port
DB_PORT=3307

# Database username
DB_USER=user

# Database password
DB_PW=password

# Database name
DB_DATABASE=database

# Database
DB_DIALECT=mysql

# Database name for tests
DB_DATABASE_TEST=database

# Database port for tests
DB_PORT_TEST = 3306

# Database username for tests
DB_USER_TEST = user

# Database password for tests
DB_PW_TEST = password
  • Databases should be created by hand before

  • The real file should be named .env in the root directory
    https://www.npmjs.com/package/dotenv

  • If you deploy this to Heroku, place your env variables in Settings -> Config Vars/n`

Our stack

express sequelize node-js socket-io

How do we name our files and line up them

`.`
├── chat # Socket's io handlers
├── middleware # All of the middlewares
├── routes # Api's routes
├── sequelize # Models's tables
│ └── models # Config files
├── test # Test for each route
└── webSockets # Websocket management

Certificate crt and secretkey files are used for the token's decoding.

Tests

chai&mocha

They are produced with Chai and Mocha.

Who are we?

We are a 5 developpers team who did this project, formed of 4 front-end developers in React/JS and one back-end developper in PHP.

Front-end developpers React/JS & back-end developpers Node/JS:

Stéphane Lavaud

Github

Linkedin

Angélique Wons

Github

Linkedin

Front-end developpers React/JS:

Clara Desperben

Github

Linkedin

Monia Polus

Github

Linkedin

Back-end developper PHP:

Anne-Claire Nanot

Github

Linkedin

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published