This is a web project template with authenticaion setup to help save you time and effort.
Base project with various authentication methods already setup.
- Javascript
- MongoDB
- ExpressJs
- NodeJs
- HTML
- CSS
- Clone the repository to your system.
- Open the project using VSCode and start the terminal.
- Navigate to './config/passport-google-oauth2-strategy.js' in config folder and add clientID and clientSecret on lines 9 and 10 respectively which can be generated at 'https://console.developers.google.com/'
- Run 'npm install' to install all the dependencies of the project.
- Run 'npm start' to start the server. It is running on port 8000 of localhost.
- Access projct though: http://localhost:8000
- /views/ - Contains all the view-templates (using ejs in express)
- /assets/ - Folder for all static files(css, js, images)
- /controllers/ - Contains action methods for your application
- /routes/ - Maps the application links to controllers
- /models/ - Contains Schemas which are used in mongoDB
- /config/ - Contains the configuration files
- LinkedIn - @lakshdhamija