Giter Site home page Giter Site logo

rizalmuhamadh / feathers-realworld-example-app Goto Github PK

View Code? Open in Web Editor NEW

This project forked from randyscotsmithey/feathers-realworld-example-app

0.0 1.0 0.0 246 KB

Feathers implementation for RealWorld example app

License: MIT License

HTML 10.89% JavaScript 89.11%

feathers-realworld-example-app's Introduction

RealWorld Example App

RealWorld Backend Build Status

Feathers codebase containing real world examples (CRUD, auth, advanced patterns, etc) that adheres to the RealWorld spec and API.

This codebase was created to demonstrate a fully fledged fullstack application built with Feathers (and Mongoose) including CRUD operations, authentication, routing, pagination, and more.

We've gone to great lengths to adhere to the Feathers community styleguides & best practices.

For more information on how to this works with other frontends/backends, head over to the RealWorld repo.

How it works

Feathers is a service oriented REST and Real Time API layer. Endpoints are defined as services.

Application Structure

  • app.js - Entry point for the application.
  • config/ - Configuration/environment variables for the server.
  • src/services/ - Service implementations
  • src/middleware/ - Middleware implementations
  • src/models/ - Schema definitions for our Mongoose models(Easily changed to use other databases).
  • src/hooks/ - Hooks for running code before and after services. Used for formatting requests and responses correctly.
  • src/common/ - Common helper functions.

Getting started

To get the Feathers server running locally:

  • Clone this repo
  • cd feathers-realworld-example-app
  • npm install to install all required dependencies
  • Set environment variable MONGODB_FEATHERS_REALWORLD to the connection string for your mongodb instance (You can install a community edition instructions or create an instance on mLab: instructions).
  • npm start to start the local server (or npm test to run tests).

feathers-realworld-example-app's People

Contributors

randyscotsmithey avatar ericsimons avatar alonski avatar anishkny avatar esakkiraj avatar optikfluffel 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.