Code Monkey home page Code Monkey logo

weconnect's Introduction

WeConnect

Build Status Coverage Status Maintainability

WEconnect provides a platform that brings businesses and individuals together. This platform creates awareness for businesses and gives the users the ability to write reviews about the businesses they have interacted with.

Table of Contents

Application features

  • Users can register on WEconnect
  • Users can log into WEconnect
  • Users can view all businesses
  • Users can search for any business
  • Users can search businesses by category
  • Users can search businesses by location
  • Users can search businesses by location and category
  • Users can write a review for any business in the catalog
  • Users can register businesses in WEconnect
  • Users can update their businesses
  • Users can delete their businesses

API Routes

HTTP VERBENDPOINTFUNCTIONALITY
POST api/v1/businesses Add Business to catalog
PUT api/v1/businesses/:businessId Update business
DELETE api/v1/businesses/:businessId Delete business
POST api/v1/businesses/:businessId/review Add review for a business
GET api/v1/businesses/:businessId/review Get all reviews for a business
GET api/v1/businesses Get all businesses
GET api/v1/businesses/:businessId Get details of a business
GET api/v1/businesses?location=location Get businesses in a particular location
GET api/v1/businesses?category=category Get businesses in a particular category
GET api/v1/businesses?location=location&category=category Get businesses by location and category
POST api/v1/auth/signup Create a user
POST api/v1/auth/login Sign in a user

Prerequisites

  • Install NodeJs and Postgresql locally
  • The app returns data in JSON format and require a client device that can parse JSON.

Getting Started

Follow the steps below to get the app running locally:

# Clone the repository
>$ git clone https://github.com/danoseun/WeConnect.git

# Change directory into it
>$ cd Weconnect/newConnect

# Install all dependencies
> npm install

# Create a .env file and fill it with the sample provided in .env.sample file
> $ touch .env

# Start the application in development mode
> $ npm run migrate
> $ npm run start:dev

# Open running application on browser
> http:localhost:3000/


API Documentation

Access API documentation through this link Here
UI Template: https://danoseun.github.io/WEconnect/template/index.html

  • Run the test with the command
    > $ npm run test

Built with

Bootstrap
Node.js
Express
postgreSQL
Sequelize ORM

Contributing to the Project

Contributions are welcome and appreciated. To contribute

  • Fork this repository or clone the repository with the command
    $ git clone https://github.com/danoseun/WeConnect.git
  • Change directory into the folder with the command
    cd WeConnect/newConnect
  • Create your feature branch and make your contributions to your local copy of the project
  • Raise a pull Request against the development branch describing what your feature does and how it can be tested

FAQ

Is this an Open-Source Application?

Yes it is, and contributing to the development of this
application is acceptable and by raising a pull request

Who can contribute?

Anyone!. This application is open to all those who want to contribute to open-source development and are willing to follow the set standards for contributing.

//#### What language was used to develop this application? // This project is a full stack Javascript application

Can I clone this application for personal use?

Yes!. This application is licensed under MIT. Further information can be found in the LICENSE file.

What format is the API response in?

The API response is in JSON format

Application limitations

  • The application runs on a single database and might impact the speed of response
  • Users cannot register or login with their social accounts at the moment

Credits

Oluwaseun Somefun

weconnect's People

Contributors

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