Skip to content

lucashamaguchi/xhelpers-websocket-sample

Repository files navigation

xhelpers-websocket-sample

Check out the live examples:

Check out the front source

Main Dependencies and Requisites

Option 1 - With Docker

Before you Start

Install:

Set the environment variables

Create a file named .env with them in the project root folder. Following the provided env.example.

For a fast start you can just rename the env.docker.example file to .env

Run the project

On the terminal:

docker-compose up

if you are using your own database, run the following command to start just the application

docker-compose up api

Go to http://localhost:3000/documentation

To stop just run

docker-compose down

Option 2 - Without docker

Before you Start

Install:

Set the environment variables

Set the environment variables on your context or create a file named .env with them in the project root folder. Following the provided env.example.

For a fast start you can just rename the env.example file to .env

Start the database

Run:

docker-compose up -d db

Run the project

Install the dependencies:

npm install
npm run dev

Go to http://localhost:3000/documentation

To stop the database just run

docker-compose down

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published