Skip to content

findShelter allows homeless shelters to manage their daily operations while providing real-time updates of their bed availability and location to all members of the public. Built using React, SASS Typescript

Notifications You must be signed in to change notification settings

shaunpurslow/findShelter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Find shelter


About

Find shelter is a community focused application to help people of all walks of life find a place to spend the night.

  • Front End: TypeScript, React, MapBox, Styled Components and SASS
  • Back-End: Socket IO, Node and Express with TypeScript
  • Database: PostgresQL and ElephantSQL

Final product

View of the project

reservation-gif

Index index

Map View mapview

Dashboard dashboard

mobile

Book reservation reservation-form

Reservations reservations


Installation

Create the PostgreSQL database (these instructions may need to be adapted for your operating system):

psql
CREATE DATABASE find-shelter;
\q

Update dbparams.ts to connect with your local PostgreSQL set up.

Create a .env file in the server directory and the information of the database

DB_HOST=localhost
DB_USER=user_name
DB_PASS=password
DB_NAME=db_name
DB_PORT=port
DB_URL=

Clone the repository:

git clone [email protected]:ricardowgomes/findShelter.git

Install all the dependencies::

In the server folder, install dependencies and then seed the database:

cd server
npm install
npm run db:reset

In the client folder, install dependencies:

cd client
npm install

The app also requires the a PostgreSQL database set up and running.


Usage

Start the server with:

npm run dev:server

Start the client side with:

npm start

The development server will automatically open a browser at http:https://localhost:8000/ with the app running.


Dependencies

Development dependencies

About

findShelter allows homeless shelters to manage their daily operations while providing real-time updates of their bed availability and location to all members of the public. Built using React, SASS Typescript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published