Coder Social home page Coder Social logo

rankmyapp_challenge's Introduction

RankMyApp challenge

How to run locally

  1. Clone this repository
    $ git clone https://github.com/PatrickRNG/RankMyApp_challenge
  2. Configure environment variables - configurations
  3. If you already have Docker installed, run:
    $ docker-compose up --build
  4. Go to http://localhost:3001/

Configurations

Create a ".env" file in the root of the /server folder. Inside set the below env variables. (For testing purposes there is already a .env.example in this repository (server folder), just copy it).

The environment variables

  1. PORT -> Port for the web server
  2. MONGO_URI -> Mongo URI for MongoDB configuration
  3. CLIENT_ID -> ClientID for the smtp configuration
  4. CLIENT_SECRET -> Secret of your Google Oauth
  5. REDIRECT_URL -> Configuration for Google Oauth
  6. REFRESH_TOKEN -> Configuration for Google Oauth

TO DO / Improvements

  1. More tests!
  2. Better way to control every E-mail sent by each alarm
  3. More environment variables configurations

PS
The ClientId, ClientSecret and other Google/Auth information in here are just for testing purposes, specificaly for this test/challenge. You should generate your own SMTP and Google Oauth info.

rankmyapp_challenge's People

Contributors

patrickrng 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.