Code Monkey home page Code Monkey logo

rocketmeet-server's Introduction

RocketMeet

Find the best time for team meetings and one-on-ones with RocketMeet. Try now!

License Chat on Gitter Code Climate maintainability GitHub Workflow Status GitHub contributors

[Under active development]

Community

Come say hello at our chatroom for discussions, voicing new ideas or getting help!

API Documentation

You can find the API documentation here.

Getting Started

Prerequisites

  • NodeJS v14
  • MongoDB v4.4

Installation

$ git clone https://github.com/<your-username>/RocketMeet-server.git

$ cd RocketMeet-server

$ npm install

Setup

Go to Firebase and create a new project. In the authentication section at Firebase, enable sign-in with Google. Then generate a private key from your Project Overview > Project Settings > Service Accounts > Firebase Admin SDK. Next, make a copy of the .env.example file to .env and set the vars corresponding to your Firebase project. Generate and set the public encryption key and IV variables too which is used for email encryption.

Run

Make sure to start MongoDB first. Then run the RocketMeet-server using:

$ npm run dev

You will be able to access the API from http://localhost:5000

Testing

$ npm run test

Linting

We use the airbnb-typescript style guide. Before opening a PR, it's recommended to check the ESLint warnings and errors in your code using the ESLint extension from Dirk Baeumer for VSCode or by running:

$ npm run lint

Deployment

In your .env, change the NODE_ENV to production. Launch a MongoDB Atlas instance and set the corresponding DB_HOST, DB_USER and DB_USER_PWD variables in the .env. Set the CORS_URL to the domain pointing to RocketMeet-client. Make sure to add that domain to the 'Authorized domains' section in your Firebase project. Make sure the Firebase and email encryption variables are set and correct.

Contributing

Check out our contributing guide!

License

RocketMeet-server is distributed under the MIT License.

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.