Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/athuldev2024/demo-app-server
this is a demo chat application I made for displaying my skills in Node.js and Express and Socket.io.
https://github.com/athuldev2024/demo-app-server
expressjs handlebars hbs monolith-architecture mutation-testing nodejs restful-api sequelize-orm server-side-rendering session-cookie socket-io sqlite3 stryker-jest
Last synced: about 1 month ago
JSON representation
this is a demo chat application I made for displaying my skills in Node.js and Express and Socket.io.
- Host: GitHub
- URL: https://github.com/athuldev2024/demo-app-server
- Owner: athuldev2024
- Created: 2024-10-13T17:48:47.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-11-18T17:07:24.000Z (3 months ago)
- Last Synced: 2024-11-18T18:27:10.398Z (3 months ago)
- Topics: expressjs, handlebars, hbs, monolith-architecture, mutation-testing, nodejs, restful-api, sequelize-orm, server-side-rendering, session-cookie, socket-io, sqlite3, stryker-jest
- Language: JavaScript
- Homepage:
- Size: 266 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# demo-app-server
A simple demo server for a chat application made using REST api as well socket.io.
## API documentation
Make sure to run the node application before hand.
http://localhost:3000/api-docs/
## Installation
### Prerequisites
- [Node.js](https://nodejs.org/) (version 20.18.0)
- [npm](https://www.npmjs.com/) (version 10.8.2)### Check if unit tests passing
Run unit tests. Unit testing is done for controllers and constants folder.
```bash
npm run test
```### Run mutation tests to check quality of unit tests.
Run mutation test. Mutation testing is done for controllers and constants folder.
```bash
npm run stryker
```### Steps for starting the node server
1. Clone the repository:
```bash
git clone https://github.com/athuldev2024/demo-app-server.git
cd demo-app-server
```2. Install node_modules
```bash
npm install
```3. Start the server
```bash
npm run start
```## See in browser (handlebar)
http://localhost:3000/hbs/login