Skip to content

Nertivia/nertivia-server

Repository files navigation

Nertivia Server

Creating Nertivia server from scratch. The current version is here: https://github.com/supertiger1234/Nertivia-Server

Stack

  • Express
  • Socket.IO
  • MongoDB (Mongoose)
  • Redis
  • Prisma

▶️ Development

Docker Compose

  1. Fork the repo
  2. Clone the forked GitHub repo using git clone
  3. docker-compose --build -d
  4. Access your server at http://localhost

Plain Docker (Best for development)

Step 4,5 and 5,6 can be skipped if you are already running your Redis and PostgreSQL server elsewhere or already running it.

  1. Fork the repo
  2. Clone the forked GitHub repo using git clone
  3. Get the Redis image using docker pull redis:6.2.6
  4. Run Redis using docker run --name nertivia-redis -d redis:6.2.6
  5. Get the PostgreSQL image using docker pull mongo:5.0.5
  6. Run PostgreSQL using docker run --name nertivia-mongo -p 27107:27107 -d mongo:5.0.5
  7. Run the code using npm run start:build