Skip to content

petermonky/studius

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

85 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Studius

Studius — a portmanteau of "study" and "us" — is a web application that aims to streamline the matching process between students and tutors online. Currently the project employs a number of technologies including PostgreSQL, Express.js, React, and Node.js.

Setup guide

The following steps detail how to setup the development environment for the web application.

Installing dependencies

Clone this repository,

$ git clone https://github.com/petermonky/studius.git
$ cd studius

and install the necessary dependencies for both server and client,

$ cd server
$ yarn install
$ cd ../client
$ yarn install

Creating database

Log in to PostgreSQL locally and run all commands in /server/database.sql, sequentially. Try out the sample user input command to confirm creation of the database and users table.

Establishing connection from server to database

Edit the user credentials in /server/db.js to match that of the local PostgreSQL account. Host, port and database should most likely be kept the same.

Starting server and client

Run yarn start in both /server and /client to boot up server and client (duh). Confirm connection to client via http://localhost:4000/ in a modern web browser.

Notes

This repository is separate from the original codebase in that it contains further developments pertinent to new features and deployment. Refer to the original repository for full development history.

Releases

No releases published

Packages

No packages published

Languages