Coder Social home page Coder Social logo

docmanager's Introduction

Build Status Code Climate Coverage Status

DocManager

screen shot 2017-06-04 at 11 31 20 pm

screen shot 2017-06-06 at 3 25 19 pm

Docmanager is a fullstack application (API endpoints and user interface) that allows users to create and manage documents. It also comes with API endpoints for creating and managing users.

View the app live here

API Summary

Note

All requests must be prefixed with api/v1 For full API documentation, visit our docs

Users

EndPoint Functionality
POST /users/login Logs in a user.
POST /users/logout Logs out a user.
POST /users/ Creates a new user.
GET /users/ Find matching instances of user.
GET /users/?limit={integer}&offset={integer} Pagination for users.
GET /users/ Find user.
PUT /users/ Update user attributes.
DELETE /users/ Delete user.
GET /search/users/?q={} Search for a user.

Documents

EndPoint Functionality
POST /documents/ Creates a new document instance.
GET /documents/ Find matching instances of document.
GET /documents/?limit={integer}&offset={integer} Pagination for docs.
GET /documents/ Find document.
PUT /documents/ Update document attributes.
DELETE /documents/ Delete document.
GET /users//documents Find all documents belonging to the user.
GET /search/documents/?q={doctitle} Search for a doc.

Roles

EndPoint Functionality
POST /roles/ Creates a new role instance.
GET /roles/ Find matching instances of role.
PUT /roles/:id Update role attributes.
DELETE /roles/:id Delete role.

Getting Started

Via Cloning The Repository:

# Get the app locally
git clone https://github.com/kingisaac95/docmanager.git

# Change directory
cd docmanager

# Create .env file in the root directory
touch .env

# Copy .env.example to .env
cp .env.example .env

# Change the secrete key to a key of your choice
SECRETE_KEY=YOUR_SECRETE_HERE

# Create a database (with postgresql)
# And update configuration file at src/server/config/config.json with database credentials

# Install Package dependencies
npm install

# Run your migrations
npm run migrate

# Run your migrations
npm run seed-db

# Run the application
npm start

# Run test migrations
npm run migrate:test

# Run test
npm run test

# Run end to end test
npm run e2e

Issues?

Submit your issue here

How can I thank you?

Why not star the github repo? The attention would be appreciated! How about sharing the link for this repository on Twitter?

Don't forget to follow me on twitter!

Thanks! Orjiewuru Kingdom.

License

The MIT License (MIT). Please see License File for more information.

docmanager's People

Stargazers

Samsondeen avatar Olamide kehinde avatar  avatar Kingdom Orjiewuru 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.