This “NITC query system” is a web application that is designed and built to give the students of NITC a platform where they can have discussions about anything related to the campus.
The following Tech Stack is used for the project:
Name | Description |
---|---|
Front-End | HTML,CSS,Bootstrap |
Back-End | Node JS |
Database | MySQL |
Framework Module | Express |
Authentication Module | Passport |
Dynamic data in web pages Module | EJS |
- Install Node.js version 8.0.0
- Clone the repository
git clone https://github.com/kartiks-21/question-answer-webapp.git
- Install dependencies
npm install
- Build and run the project
npm start
Navigate to http://localhost:8000
The folder structure of this app is explained below:
Name | Description |
---|---|
node_modules | Contains all npm dependencies |
views | Contains all the EJS which display the dynamic content on the front end |
routes | Contains all the express routing of the website. |
controllers | Contains the functionalities of their respective EJS front end. |
config | Contains Express Middlewares and passport module configuration for Login/Sign-Up. |
assets/css | Conatians all the CSS files used for the front-end. |
assets/images | Contains all the images used for the website. |
assets/js | Contains all JS files used for front-end. |
package.json | Contains npm dependencies. |
Sign Up
Login
Home Screen
Profile Page