This is the websocket server for the Descolar project.
It provides real-time communication between the mobile app and the backend.
The websocket server is built using Node.js and fastify.
Download links:
- Space
- SSH clone URL:
ssh://[email protected]/3mty/descolar/descolar-websocket.git
- HTTPS clone URL:
- SSH clone URL:
- GitHub
- SSH clone URL:
- [email protected]:3mty-team/descolar-websocket.git
- HTTPS clone URL:
- SSH clone URL:
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
What things you need to install the software and how to install them.
- Download and Install Node.js
- Install Node.js Packages
npm install
- Build the server
npm run build
- Go to the dist folder
dist
and create a .env file with the referred content in the .env.example filecp .env.example dist/.env
- Start the server
npm run start
- Fastify https://www.fastify.io/
- @Fastify/websocket https://github.com/fastify/fastify-websocket
- @Fastify/cors https://github.com/fastify/fastify-cors
- fastify-decorators https://github.com/L2jLiga/fastify-decorators
- Consola https://github.com/unjs/consola
- Typescript https://www.typescriptlang.org/
- ts-node https://www.npmjs.com/package/ts-node
- Babel https://babeljs.io/
- PHPStorm https://www.jetbrains.com/phpstorm/
- Space https://www.jetbrains.com/space/
- Websocket King client https://websocketking.com/
This project is maintained by Descolar Team.
If you have any questions, please contact us at: [email protected]