Skip to content

A backend capable of authenticated CRUD operations using GraphQL, Apollo, MongoDB and Redis.

License

Notifications You must be signed in to change notification settings

ashbellett/platform-backend

Repository files navigation

platform-backend

A backend capable of authenticated CRUD operations using GraphQL, Apollo, MongoDB and Redis.

Dependencies

Instructions

Ensure a MongoDB database and Redis memory store are running in the host environment. Install dependencies.

npm i

Development

Copy environment variables.

cp sample.env .env

Lint code.

npm run lint

Run in development mode.

npm run dev

Production

Transpile Typescript to Javascript.

npm run build

Run in production mode (requires previous build step).

npm run start

Defaults

  • Accessible on http://localhost:4000/graphql.
  • MongoDB connection URI is mongodb://localhost:27017/test.
  • Apollo playground accessible in development mode only.

About

A backend capable of authenticated CRUD operations using GraphQL, Apollo, MongoDB and Redis.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published