A basic CHAT ROOM WITH A GAME
A Project made to participate in GDG-Algires dev_challenge for the new year event from 22/12/2019 to 29/12/2019
With the following features:
- ✅ Convivial, Party Design
- ✅ FireWork animation on the background
- ✅ Responsive
- ✅ About GDG-Algiers section
- ✅ Contact section
- ✅ Conventual, Party Design
- ✅ Chat Room made with nodeJS Express mongoDB
- ✅ A small game inspired by flappy bird
- Apreas on click
- Responsive
- ✅ Fire work animation on the background
- ✅ A button that show a surprize on new years day
- ✅ responsive
git clone https://github.com/AmineMahiddine/GDG_Challenge_newYear.git
- nodeJS installed
- npm installed
- mongoDB installed
-
Open a terminal and type
-
npm config user.name=""
-
npm config user.email=""
- Init a derectory with your info
npm init -y
- Install express and morgan
morgan: HTTP request logger middleware for node.js note: morgan is a middle-war libraries that logs all the incomming requests and will help while debugging
npm i express morgan
- Install nodemon that will auto refresh whene a change is commited to the server
npm i --save-dev nodemon
- Install cors
- CORS is a node.js package for providing a Connect/Express middleware that can be used to enable CORS with various options.
npm i cors
- Install monk to talk to MongoDB
npm i monk
- Install bad-words A javascript filter for badwords
npm init bad-words
- Install express-rate-limit
- Basic rate-limiting middleware for Express. Use to limit repeated requests to public APIs and/or endpoints such as password reset.
npm init express-rate-limit
- Type
npm run dev
-
Type
npm i -g live-server -
Type
live-server
- Add the P5.js libraries from click here
- Also you nedd to add p5.collide2d.js
This Project is under the MIT LICENCE