Kn3cht / SurfSpotManagerrz-Backend

NodeJs backend for finding and managing surf spots.

Home Page:https://surf-spot-managerrz.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SurfspotFinderrz

NodeJs + Apollo Server + MongoDB boilerplate project.

About

CRUD logic for surf spots.

Setup

Clone the repository

git clone git@github.com:Kn3cht/SurfSpotManagerrz.git

Install all dependencies

yarn install

Generate ts for schema

yarn generate

Env variables Set the following variables before running the project:

PORT=<local-deployment-only> 
MONGO_URL=<e.g. mongodb cluster> 
MONGODB_APPLICATION_DATABASE=<mongo-database>
MONGO_INITDB_ROOT_USERNAME=<mongo-root-username>
MONGO_INITDB_ROOT_PASSWORD=<mongo-root-password>

JWT_SECRET=<jqt-secret>

Run local dev instance

yarn dev

The gql endpoint can then be accessed via the url:

http://localhost:<env-port>/graphql

About

NodeJs backend for finding and managing surf spots.

https://surf-spot-managerrz.vercel.app

License:MIT License


Languages

Language:TypeScript 100.0%