Skip to content

Latest commit

 

History

History
99 lines (83 loc) · 2.25 KB

README_.md

File metadata and controls

99 lines (83 loc) · 2.25 KB

Official repository of Xunbao, one of the pre-fest events organized at YMCAUST Faridabad before the annual fest 'Elements Culmyca'.

Installation

You must have Node.js version 10.x installed in order to run this.

For node version

node -v

Install the dependencies and devDependencies and start the server.

$ cd Xunbao-19
$ npm install
$ npm start

or On Linux

$ chmod +x ./start.sh
$ ./start.sh

Project Structure

Frontend

├── frontend
│   ├── dist
│   │   └── index.html
│   ├── index.js
│   ├── package.json
│   ├── src
│   │   ├── components
│   │   ├── index.js
│   │   └── pages
│   └── webpack.config.js
├── gitignore
├── package.json
 ── README.md

Backend

.── backend
    ├── app
    │   ├── controller
    │   │   ├── admin
    │   │   │   └── index.js
    │   │   ├── app
    │   │   │   └── index.js
    │   │   ├── home
    │   │   │   └── index.js
    │   │   ├── index.js
    │   │   ├── leadersboard
    │   │   │   └── index.js
    │   │   ├── questions
    │   │   │   └── index.js
    │   │   └── user
    │   │       └── index.js
    │   ├── helper
    │   └── models
    │       ├── answer.js
    │       ├── index.js
    │       ├── question.js
    │       └── user.js
    ├── index.js
    └── lib
        ├── admin
        │   └── index.js
        ├── home
        │   └── index.js
        ├── leaderboard
        │   └── index.js
        ├── questions
        │   └── index.js
        └── user
            └── index.js

Postman Docs

The postman documentation can be found at Postman Doc

Creating ADMIN

$ ADMIN_PASSWORD=i_hAte_woRld [email protected] node ./backend/scripts/createAdmin.js