Skip to content

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.

Notifications You must be signed in to change notification settings

danoseun/WeConnect

Repository files navigation

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

About

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published