Skip to content

Linkio.Space is a web application that allows you to keep all your connections with people and their business cards. You can easily and quickly add new connections. All your business cards are stored and updated at any time.

License

Notifications You must be signed in to change notification settings

desi109/linkio-space

Repository files navigation

Contributors Forks Stargazers Issues MIT License LinkedIn


Logo

Linkio.Space

Linkio.Space is a web application that allows you to keep all your connections with people and their business cards.
You can easily and quickly add new connections. All your business cards are stored and updated at any time.
Explore the docs »

View Demo · Report Bug . Request Feature

Table of Contents

  1. About The Project
  2. Getting Started
  3. Roadmap
  4. License
  5. Contact

About The Project

The idea of this app is to save the user's business cards. When the user signs up, the system automatically generates a 4-digit code that is unique. If a user wants to give his business card to somebody, he just has to provide this code. The platform has a search system that searches other users by using this user code. After the user's business card which is searched, is found, it can be added with just one click. The application has a user`s connections board, from where the user can see all his contacts. Every user profile can be edited and the new information for a user will be updated also for the people who have been saved his business card.

The app has a blue minimalistic design and it is easy to be used by everyone.

On http:https://localhost:8081/, there is the start page. It has welcome information with a logo, simple navigation bar, and footer with contacts. product-screenshot-start-page-1 product-screenshot-start-page-2

On http:https://localhost:8081/home, there is the home page with buttons for Sign Up and Log In. The user can also use the navigation bar to sign up and log in. product-screenshot-home-page

The user can also use the navigation bar to sign up and login.

http:https://localhost:8081/register product-screenshot-sign-up-page

http:https://localhost:8081/login product-screenshot-log-in-page

The application has two views for the administrator and for the user. Credentials for login as administrator are:

Email: [email protected]
Password: admin123

Admin profile page (http:https://localhost:8081/profile) has information about the admin. The information can only be edited from the button EDIT YOUR INFORMATION. product-screenshot-admin-profil-page

After editing the information, everything should be saved from the button SAVE . product-screenshot-admin-profile-edit-page

The admin view has Admin Board (http:https://localhost:8081/admin/users) where all users and their information is visible. product-screenshot-admin-board-page

Admin can delete users from the database. product-screenshot-admin-board-delete-page

Credentials for login as user are for exaple:

Email: [email protected]
Password: 12345678

// The password is the same for all test users.

The user can also edit his profile as the administrator. product-screenshot-user-profile-page

Every user has Connections (http:https://localhost:8081/user/connections) board where can remove business cards or see details about his connections. product-screenshot-user-connections-board-page product-screenshot-user-connections-delete-board-page

To search for a new business card, the user should go to Search (http:https://localhost:8081/user/search), enter a code, and press the button for search. If the business card is found, the user can easily add it to his connections from the button ADD USER TO YOUR CONNECTIONS. product-screenshot-user-search-board-page

Built With

Getting Started

To get a local copy up and running follow these simple steps.

Prerequisites

To run this project you first need to install and set up:

Installation

  1. Clone the repo:

    git clone https://github.com/desi109/linkio-space.git
  2. Set up the database for the project

  • For Windows

In pgAdmin open Servers and then PostgreSQL Server. Go to:

Login/Group Roles -> Create -> Login/Group Role...

Create new user:

General: Name: linkio_space_user

Privileges:  Can login?        Yes.
             Superuser?        No.
             Create role?      Yes.
             Create database?  Yes.
             Update catalog?   No.
             Inherit rights from the parent roles?  Yes.
             Can initate streaming replication and backups? No.

In pgAdmin open Servers and then PostgreSQL Server.

Go to: Databases -> Create -> Database...

Create new database:

General: Database: linkio_space
            Owner: linkio_space_user   

Definition:  Tablespace:  pg_default

Create database tables and import data. Copy the two scripts (create_tables.sql and insert_data.sql ) from here. Go to Servers -> PostgreSQL Server -> Databases -> linkio_space -> Query Tool.... Paste scripts and click button Execute/Refresh or clicl F5.

  • For Linux

How to set up PostgreSQL server on Linux?

Start pgAdmin and run:

cd linkiospace
psql -h localhost -p 5432 -U postgres -f create_user_and_database.sql

cd linkiospace-backend/src/main/resources/db_postgresql
psql -U linkio_space_user -d linkio_space -f create_tables.sql
psql -U linkio_space_user -d linkio_space -f insert_data.sql   

The first script set up new role and create database:

Role: linkio_space_user
Password: 1234

Database: linkio_space

The other two scripts create database tables and insert all data.

  1. Start the back-end of the project:

    cd linkiospace/linkiospace-backend
    mvn spring-boot:run

    It is running on localhost:8080.

    To restart, first kill the process:

    kill -9 $(lsof -t -i:8080)   

    And run the previous command to start it again.

  2. Start the front-end of the project:

    cd linkiospace/linkiospace-ui
    npm run serve

    It is running on localhost:8081.

    To restart, first kill the process:

    kill -9 $(lsof -t -i:8081)   

    And run the previous command to start it again.

  3. Everything is ready. Go to localhost:8081. Enjoy! 😉

Roadmap

See the open issues for a list of proposed features (and known issues).

License

Distributed under the MIT License. See LICENSE for more information.

Contact

LinkedIn

Project Link: https://github.com/desi109/linkio-space

About

Linkio.Space is a web application that allows you to keep all your connections with people and their business cards. You can easily and quickly add new connections. All your business cards are stored and updated at any time.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published