Skip to content

The final Masterschool project - my first fullstack application using React, Redux, Typescript, NodeJS, Express, Jest and PostgreSQL. Petbook is a facebook for pet owners. 🐹

Notifications You must be signed in to change notification settings

psyjulga/petbook-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PETBOOK PROJECT

  • Final Fullstack Project for the Masterschool Web Development program
  • Tech Stack: React, Redux, JavaScript, Typescript, NodeJS, Express, PostgreSQL, Jest

After two backend courses with an image API project and a shopping app API project, where we used NodeJS, Express, Typescript and Jest, we combined our knowledge of front- and backend development to build a fullstack project. The very last - the final Masterschool project. Petbook is a facebook for pet owners - come and create an account yourself! 🐹

⚠ THIS WORK IS STILL IN PROGRESS ⚠

PROJECT SETUP

  1. cd backend => run npm install to install all dependencies
  • cd frontend => run npm install to install all dependencies
  1. run npm run db to start docker / postgres container

  2. Create database and users in psql:

- CREATE USER petbook_user WITH PASSWORD 'lovepets';
- CREATE DATABASE petbook_database;
- CREATE DATABASE petbook_test_database;
- GRANT ALL PRIVILEGES ON DATABASE petbook_database TO petbook_user;
- GRANT ALL PRIVILEGES ON DATABASE petbook_test_database TO petbook_user;
  1. run npm run migrate-up to populate database

  2. launch the project

    1. cd backend: start backend server => run npm run watch => backend port 8000
    1. cd frontend: start frontend => run npm run start-react => frontend port 3000

LOGIN

  • to login you can either create your own account
  • or use one of the following credentials: (⚠ not working yet)
username password
Ladybug secret123
Ganesha secret456

API information

  • all endpoints with a description of their functionality in API.md

About

The final Masterschool project - my first fullstack application using React, Redux, Typescript, NodeJS, Express, Jest and PostgreSQL. Petbook is a facebook for pet owners. 🐹

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published