Documentation is still in early development
UniLyfe is a platform for verified university students to network, chat, and share their ideas while remaining anonymous. With peace of mind knowing only verified students can register. The goal was to create an environment where students could openly discuss their opinions or ideas.
You must install both the web app and UniLyfe API to run this project properly.
If you are using docker you can get up and running quickly by using docker compose.
- Navigate to the root directory, you should see a docker-compose.yml file when you run:
$ ls
- Compose the project by running:
$ docker-compose up
IMPORTANT! The web app depends on the UniLyfe API to run!
This project will be installed with yarn. Please feel free to use any other package manager you prefer.
- If you haven't already, install Node.js. You should be able to run the following commands if you installed it properly.
$ node --version
$ npm --version
-
Clone the repository:
$ git clone https://github.com/alexbarksdale/UniLyfe.git
-
Register for a Filestack API key. This project utilizes their file handling service to upload images for posts.
-
Navigate to
$ cd packages/frontend
and rename.env_example
to.env
and place your key next toREACT_APP_FILESTACK_API_KEY=
.
-
Navigate to the web app directory:
$ cd packages/frontend
-
Install the necessary packages:
$ yarn
-
Start the project:
$ yarn start
This project will be installed with yarn. Please feel free to use any other package manager you prefer.
- If you haven't already, install Node.js. You should be able to run the following commands if you installed it properly.
$ node --version
$ npm --version
- Install PostgreSQL.
- Navigate to the API directory
$ cd packages/backend
- Open
ormconfig.json
and configure the necessary settings for your database. - Rename
.env_example
to.env
and fill out the necessary environment variables.
-
Navigate to the API directory:
$ cd packages/backend
-
Install the necessary packages:
$ yarn
-
Start the project:
$ yarn start