GithubHelp home page GithubHelp logo

harmnot / hacktivoverflow Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mhmmd-ysf/hacktivoverflow

0.0 1.0 0.0 164 KB

live demo

Home Page: http://hacktivflow.cornhoo.us/

JavaScript 37.79% CSS 20.27% HTML 1.16% Vue 40.78%

hacktivoverflow's Introduction

ROUTES METHOD BODY / Token STATUS RESPONSE
/api/people/login POST EMAIL, PASSWORD || no token 201, 403,500 Success message and error message if status 403,and 500
/api/people/register POST EMAIL, PASSWORD, NAME || no token 404,200,400,500 Success message and error message if status 400,and 500, if email already exist it gonna be 404
/api/people/update/:id PUT EMAIL, PASSWORD, NAME || no token 200 and 500 Success message and error message if status 500 from Database
/api/answer/add POST Content, Fromquestion 201 and 500 Success message and data of answer and error message if status 500 from Database
/api/answer/delete/:id DELETE NONE 400 and 200 Success message and error message if status 500 from Database
/api/answer/:id PUT Content, Fromquestion, upvote, downvote, comment 400, 200 and 500 Success message of new update and error message if status 500 from Database
/api/answer/getall GET User id 200 and 500 Success message , GET all questions and error message if status 500 from Database
/api/question/add POST Title, content, categories and TOKEN 201 , 200, 500 Success message of new question and error message if status 500 from Database
/api/question/getwhatever GET Title, content, categories and TOKEN || no TOKEN (flexible search) 200 and 500 get all populate data and error message if status 500 from Database
/api/question/update/:id PUT Title, content, answers , categories and TOKEN 200 and 500 new record update response object and error message status 500 from database
/api/question/:id DELETE NONE 200 and 500 Success message after deleted record and error message if status 500 from Database
/api/question/userquestions/:id GET flexible search and TOKEN 200 and 500 data object and error message from Dtaabase if status 500

hacktivoverflow's People

Contributors

harmnot avatar dmtrxw 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.