Coder Social home page Coder Social logo

cartmanishere / website-backend Goto Github PK

View Code? Open in Web Editor NEW

This project forked from real-dev-squad/website-backend

0.0 1.0 0.0 2 MB

The backend code for all our website-related apps

Home Page: https://staging-api.realdevsquad.com/

JavaScript 99.85% Shell 0.15%

website-backend's Introduction

GitHub Workflow Status GitHub issues JavaScript Style Guide

Real Dev Squad API

Table of Contents

About the Project

This Project serves the backend APIs required for Real Dev Squad web projects. This project is built in Express.js.

Running the Project

$ npm install
$ npm start

Running in dev mode

$ npm run dev

Test local setup

$ npm run validate-setup

Prerequisites

  • The application uses node-config(documentation) for managing config.
  • Create a new file: config/local.js. Override the required config values from config/development.js and config/default.js into config/local.js.
  • Register the application for GitHub OAuth to get the clientId and clientSecret. Add the callback URL as http://<HOSTNAME>:<PORT>/auth/github/callback
  • Create an application on FireStore and generate a service file. Add the service file credentials in the local config (or your env variables) as a string (don't forget to escape the newline in private_key)
  • For running the project locally, Firebase Local Emulator Suite can also be used instead of using the remote DB. Steps for setting it up: CONTRIBUTING.md - Using Firebase Emulator Locally

API Documentation:

  • View the RDS API documentation: Real Dev Squad API
  • You can also run the server and navigate to http://<HOSTNAME>:<PORT>/api-docs to view the API documentation.
  • You can import the file API Schema to Postman or SwaggerHub.
  • If any API changes have been made:
    • Write JS Doc on top of your routes using YAML based annotations in OPEN API 3.0 format.
    • Run npm run generate-api-schema to generate the API schema. A file public/apiSchema.json will be created/updated.

Read more about contributing to the project: CONTRIBUTING

website-backend's People

Contributors

ankurnarkhede avatar swarajpure avatar ankushdharkar avatar sumitd94 avatar harshith-venkatesh avatar whydonti avatar prakashchoudhary07 avatar bhk31 avatar rucha1499 avatar sanyogita14 avatar sebuelias avatar ankita2002-fr avatar rajakvk avatar premanandchowdhury avatar sagarokcredit avatar cartmanishere avatar rashid301 avatar adnan1308 avatar aman7870 avatar takshch avatar td-17 avatar anuragprimus avatar dependabot[bot] avatar kratika0907 avatar k-ash-ish avatar correaswebert avatar ashwiniajit avatar adnanraghib1308 avatar raunak-agrawal avatar ritikrana4 avatar

Watchers

James Cloos 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.