khorevaa / nakama

The next social network for anime fans uwu

Home Page:https://nakama.social

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nakama join slack

banner

Source code of the next social network for anime fans. Still on development.

New work is being done at next branch.

Docker build

The easies way to start the server and its dependencies is by using Docker.

docker-compose up --build

Building

Instead of Docker, you can also install and build stuff by yourself, that way you have complete control.

So, besides having Go installed, the server needs CockroachDB and NATS. Also Node.js and npm for the front-end.

First, you need a cockroach node running.

cockroach start-single-node --insecure --listen-addr 127.0.0.1

Then, you need to create the database and tables.

cat schema.sql | cockroach sql --insecure

Then you need to start NATS server.

nats-server

Now, you can build and run the server.

go build ./cmd/nakama
./nakama

For the front-end you need to install dependencies.

cd web/app
npm i

Now you can either build the entire front-end, or run a dev server:

npm run build

or

npm run dev

Eva Icons are being used in the front-end. Thank you.

About

The next social network for anime fans uwu

https://nakama.social

License:ISC License


Languages

Language:Go 49.5%Language:JavaScript 42.3%Language:CSS 7.3%Language:HTML 0.6%Language:Dockerfile 0.2%Language:Shell 0.1%