This is a Social-Network platform called Linker
that simulates Facebook
and LinkedIn
.
-
Node v14.15.1 (LTS) or more recent. While older versions can work it is advisable to keep node to latest LTS version
-
npm 6.14.8 (LTS) or more recent, Yarn can work but was not tested for this project
- Open postgres terminal with:
psql postgres
1- CREATE DATABASE network_dev;
2- CREATE ROLE admin WITH PASSWORD 'admin123';
3- ALTER ROLE admin WITH SUPERUSER CREATEROLE CREATEDB LOGIN;
4- GRANT ALL PRIVILEGES ON DATABASE network_dev TO admin;
-
Second to install the node_modules run
npm install
oryarn
. After installation is done start the api in dev mode withnpm run dev
oryarn dev
. -
Third without closing the terminal in step 2, navigate to the frontend
cd frontend
to intall the node_modulesnpm install
oryarn
. After installation is done start the frontend server withnpm run start
oryarn start
.
Note: open Linker/frontend/src/utils/api-urls.js
No Unit test available now.
- React - Single Page Application Library
- Node - Javascript Runtime
- Express - Javascript API Framework
- PostgreSQL - Open Source Relational Database