Code Monkey home page Code Monkey logo

fidia-be's Introduction

Auth

A simple auth API
It has a GraphQL architecture, and leverages the following tools/technologies

The API is dpeloyed at https://fidia-be.herokuapp.com/graphql

Getting started

Prerequisites

  • Node v14.x
  • yarn(or npm) >= 6.14
  • Git installed

Running Locally

  • Clone the repository. Run the following in your terminal
  $ git clone https://github.com/jobafash/fidia-be.git
  $ cd fidia-be
  $ yarn

In the root directory of the project create a .env file and copy the values from .env.sample and set the values of the veriables correctly.

  • To run locally you'll need

    • URI to a MongoDB server running locally or in the cloud
    • Mailgun API credentials
  • To run in development mode bash

    $ yarn run dev
    
  • To run in production mode

    • set NODE*ENV in your *.env_ to production
    • Run in your terminal bash
      $ yarn run build
      $ yarn start
      
  • To run unit tests(all 4 tests are passing)

    • set NODE*ENV in your *.env_ to test
    • Run in your terminal bash
      $ yarn test
      

fidia-be's People

Contributors

jobafash avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.