Coder Social home page Coder Social logo

davidshare / stackoverflow-lite Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 426 KB

StackOverflow-lite is a platform where people can as questions about challenges and get answers. They can also provide answers to other people questions.

License: GNU General Public License v3.0

JavaScript 38.49% HTML 51.95% CSS 9.56%

stackoverflow-lite's Introduction

StackOverflow-lite

Build Status Coverage Status Test Coverage Maintainability

StackOverflow-lite is a platform where people can ask questions about their challenges and get answers. They can also provide answers to other peoples' questions.

UI hosted on gh pages

https://davidshare.github.io/StackOverflow-lite/UI/index.html

Server side hosted on Heroku

https://stackoverflowlite-essien.herokuapp.com/

Table of Content

Getting Started

Prerequisites for installation

  1. Node js

  2. Express

  3. Git

Installation

  1. Clone this repository into your local machine:
e.g git clone https://github.com/davidshare/StackOverflow-lite
  1. Install dependencies
e.g npm install.
  1. Start the application by running the start script.

e.g npm start

  1. Install postman to test all endpoints on port 3000.

Test

run test using 'npm test'.

API End Points Test Using Postman

HTTP VERBENDPOINTFUNCTIONALITY
POST /api/v1/questions post a question
POST /api/v1/questions/:id/answers post an answer
GET /api/v1/questions Gets all questions
GET /api/v1/questions/:idd Gets a question by id

Coding Style

  • Airbnb style guide.

Features

Questions

  • A user can post a question.
  • A user can view all questions.
  • A user can view a question using the id.
  • A user can post an answer to a question.

Built With

  • NodeJs-EXPRESS: Node.js is a javascript runtime built on Chrome's V8 javascript engine.

  • html5: It is used for structuring the frontend.

  • css: It is used for styling the frontend.

  • Vannila Javascript: It is used for scripting the client side.

Author

  • David Essien

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

Acknowledgement

I acknowledge the individuals from the organisation and groups below. They were a great source of motivation in completing this project.

  • Andela.
  • Andela Learning Facilitators.
  • Andela cycle 35

stackoverflow-lite's People

Contributors

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