This is a template for a web application using ExpressJS and Socket.io.
It is based on the ExpressJS generator.
It uses Socket.io for real-time communication.
It uses Bootstrap for the UI.
It uses JQuery for the UI.
- Clone this repository
- Run
npm install
- Run
npm start
- Open your browser at
http://localhost:3000
- Create your database
- Create a .env file in the root of the project
- Add the following lines to the .env file:
- DB_USER=YourDatabaseUser
- DB_PASS=YourDatabasePassword
- DB_NAME=YourDatabaseName
- DB_HOST=YourDatabaseHost
- Start the application and check if you see the following message in the console: Connected to the PostgreSQL database
- If you see the message, you are good to go! ENJYOY
- Add a database
- Add a login system
MIT