Giter Site home page Giter Site logo

the-forum's Introduction

the-forum

This README outlines the details of collaborating on this Ember application. A short introduction of this app could easily go here.

Prerequisites

You will need the following things properly installed on your computer.

Installation

  • git clone <repository-url> this repository
  • cd the-forum
  • npm install

Running / Development

Code Generators

Make use of the many generators for code, try ember help generate for more details

Running Tests

  • ember test
  • ember test --server

Linting

  • npm run lint:hbs
  • npm run lint:js
  • npm run lint:js -- --fix

Building

  • ember build (development)
  • ember build --environment production (production)

Deploying

Specify what it takes to deploy your app.

Further Reading / Useful Links

Backend Contract (Coming Soon)

API Contract / Documentation

Categories

GET /api/categories - 200 [] POST /api/categories - 201 created category PUT /api/categories/:id - 201 updated category DELETE /api/categories/:id - 201

Accounts

POST /api/accounts - 201 sign up POST /api/accounts - 201 sign in PUT /api/accounts/:id/deactivate - 201 - Deactivate account PUT /api/accounts/:id/activate - 201 - Activate account

Posts. (Authenticated)

GET /api/posts - 200 [] POST /api/posts - { title, content, categoryId } headers: { authorisation: ‘’Bearer token } - 201 created post PUT /api/posts/:id - { title, content, categoryId } headers: { authorisation: ‘’Bearer token } - 201 updated post DELETE /api/posts/:id - { title, content, categoryId } headers: { authorisation: ‘’Bearer token } - 201

Comments (Authenticated)

GET /api/posts/:postId/comments - 200 [] POST /api/posts/:postId/comments - created comment DELETE /api/posts/:postId/comments/:commentId - created comment

Favourites (Authenticated)

PUT /api/posts/:postId/favorite - 201 (Toggle) PUT /api/posts/:postId/unfavorite - 201 (Toggle)

the-forum's People

Contributors

agathebadia avatar einnor avatar ember-tomster avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

agathebadia

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.