Server-side of texas-plan-em using MongoDB and web sockets
- Clone the repository
- Create a
.env
file in the root and copy the contents of.env.sample
. Fill out the fields with your mongoDB information - Run
npm install
- Run
npm run devstart
- Browse to [(http://localhost:3005/)]
App structure:
.
├── public # CSS files
├── routes # Router files
| ├── index.js # Routes
├── socket # Socket files
| ├── index.js # Server Socket.io implementation
├── models # Schema files
| ├── schemas.js # User and Session schemas
└── app.js # Express entry point file