Skip to content

ITA directory project for Barcelona Activa - IT Acacdemy students.

Notifications You must be signed in to change notification settings

IT-Academy-BCN/ita-directory-1

 
 

Repository files navigation

Contributors Forks Stargazers GitHub issues open MIT License LinkedIn


Logo

IT Academy Directory

IT Academy Directory is a project built with React.js and Node.js for students at the IT Academy from Barcelona Activa. The goal is to allow them to familiarize themselves with a generic development setup that could be found in other places. One of the purposes of this project is to allow students to deal with new features, legacy code, fixes and teamwork challenges. As a consequence the priority is not only excellent technical execution, but to provide a full learning experience to our students.
Explore the docs »

Visual design · Report Bug · Request Feature

Table of Contents

  1. About The Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Contributing

About The Project

![Product Name Screen Shot][product-screenshot]

Here's a blank template to get started: To avoid retyping too much info. Do a search and replace with your text editor for the following: github_username, repo_name, twitter_handle, email, project_title, project_description

Built With

Requirements

  1. Docker
  2. Bash terminal
  3. Git pull-request and issue flows.

How to work with GIT

  1. When new features or fixes are required we create a new issue.
  2. Issues are assigned to one person.
  3. The number of the issue is created as a new branch name following git branch naming conventions: https://deepsource.io/blog/git-branch-naming-conventions/
  4. Once the issue is resolved, a new pull-request from your branch to main is required.

Project files:

  1. This repository
  2. Visual: Visual design

Getting Started

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

  1. Clone the repository: git clone https://github.com/it-academyproject/ita-directory.git
  2. Install dependencies with: npm run install-deps It installs the dependencies of the front, the back and the main directory
  3. Make sure that you have docker installed and running, and from the main folder launch up: npm run up(to initialize the local project in docker)
  4. Create a .vscode folder in the root directory. It won't be shared on git as it is ignored.
  5. Create a settings.json inside the .vscode file with the following content:
{
    "eslint.workingDirectories": ["frontend", "backend"]
}

The code above allows the ESLint VSCode extension to properly find each ESLint project configuration file.

The up command will:

  • Start PostgreSQL
  • Start Redis
  • Generate PRISMA migrations
  • Seed the Postgres database
  1. Once all of it is up and running launch the backend, to enable the API npm run backend

  2. Open another terminal and launch the frontend with the command: npm run frontend

run-frontend

  1. Now the project is setup and running on local enviroment.

  2. In order to start contributing to the project and solvieng issues you must create and change to new branch for the issue number (#id) and the issue name, never work on main branch. git checkout -b issueNumber-name-of-issue

Prerequisites

This is an example of how to list things you need to use the software and how to install them.

  • npm
    npm install npm@latest -g

Swagger Docs

Once you have started the server, then you can open your browser and enter this endpoint /api-docs/ to the server URL to open the swagger documentation.

-example

http://localhost:10910/api-docs/

Usage

Use this space to show useful examples of how a project can be used. Additional screenshots, code examples and demos work well in this space. You may also link to more resources.

For more examples, please refer to the Documentation

Roadmap

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

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request 5.1 Use a Closing Keyword to link your Pull request to an Issue

About

ITA directory project for Barcelona Activa - IT Acacdemy students.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 84.4%
  • TypeScript 14.3%
  • Other 1.3%