Giter Site home page Giter Site logo

thenicekat / teenageconcerns-v1-api Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 28 KB

A REST API for teenage concerns an organization that wanted to eliminate the gap between depressed people and volunteers who wanted to help the same. This was an app made using MERN stack

JavaScript 96.51% Dockerfile 2.61% PLpgSQL 0.89%

teenageconcerns-v1-api's Introduction

TeenageConcerns-API

A web app for a start-up that connects depressed and sad people with mentors who can help them out and ensure they don't make any rash decisions. This is being made in nodejs and react, Postgres

BackEnd - This consists of all the back end stuff, written in NodeJS and uses socket.io for the chat feature

Currently,

  1. /user/register
    • POST request
    • User can register
    • Returns id of the user and mentor details which is by default null
  2. /findadvisor/:id
    • GET request
    • Get user details
    • Returns advisor details
  3. /user/delete/:id
    • Delete Request
    • Delete an user account based on ID
  4. /volunteer/register
    • Volunteer can register
    • Returns name, email, users, current and past for a volunteer
    • Default values for users, current and past is 0
  5. /volunteer/login
    • Volunteer can Login
    • Returns name, email, users, current and past for a volunteer
  6. Chat Option
    • Anonymous Chat option between Volunteer and User
    • Currently runs on a different port, need to shift it to a different endpoint, maybe, /chat/

How to run the code

The Backend code is dockerized, and using docker is the ideal way to run this app

docker-compose run --build should ensure your databases and chats and the main server file are running at once

teenageconcerns-v1-api's People

Contributors

thenicekat avatar

Watchers

 avatar Nishith Kumar 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.