Skip to content

jefer94/apiv2

This branch is 17 commits behind breatheco-de/apiv2:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Feb 18, 2025
44718ac · Feb 18, 2025
Jan 24, 2025
Jan 22, 2025
Jul 4, 2024
Feb 17, 2025
Jan 30, 2025
Feb 12, 2025
Jan 22, 2025
Oct 29, 2022
Oct 28, 2023
Jul 10, 2021
Aug 4, 2021
Jan 29, 2024
Oct 22, 2024
Oct 4, 2024
Jan 24, 2025
Jan 24, 2025
Jan 25, 2025
May 2, 2024
May 2, 2024
Jan 22, 2025
Jul 4, 2024
Jan 24, 2025
Jul 6, 2021
Jul 1, 2021
Jun 27, 2021
Jan 25, 2025
Dec 1, 2023
Aug 20, 2024
Nov 21, 2023
Jan 29, 2024
Jan 28, 2025
Aug 31, 2023
Mar 1, 2024
Jul 4, 2024
Sep 5, 2024
Nov 21, 2023
Sep 12, 2023
Jan 29, 2024
Feb 18, 2025
Oct 7, 2024
Nov 25, 2024
Feb 8, 2025
Sep 27, 2024
Sep 5, 2024
Jan 22, 2025
Jul 4, 2024
Jul 4, 2024
Jan 29, 2024
Sep 17, 2024
Jan 29, 2024
Jan 22, 2025

Repository files navigation


4Geeks

4Geeks's mission is to accelerate the way junior developers learn and evolve using technology.

Coveralls Checks

Documentation

You can find the development documentation on the website.

Check out the Postman docs, Swagger or Redoc.

The documentation is divided into several sections:

Run 4Geeks in Codespaces (no installation)

Click Code -> Codespaces -> Create namespace on {BRANCH_NAME}.

Codespaces

Install Docker

Install docker desktop in your Windows, else find a guide to install Docker and Docker Compose in your linux distribution uname -a.

Running 4geeks

Run 4Geeks API as docker service

# open 4Geeks API as a service and export the port 8000
docker-compose up -d

# create super user
sudo docker compose run 4geeks python manage.py createsuperuser

# See the output of Django
docker-compose logs -f 4geeks

# open localhost:8000 to view the api
# open localhost:8000/admin to view the admin

Run 4Geeks in your local machine

Installation

# Check which dependencies you need install in your operating system
python -m scripts.doctor

# Setting up the redis and postgres database, you also can install manually in your local machine this databases
docker-compose up -d redis postgres

# Install and setting up your development environment (this command replace your .env file)
python -m scripts.install

Run 4Geeks API

You must up Redis and Postgres before open 4Geeks.

# Collect statics
pipenv run python manage.py collectstatic --noinput

# Run migrations
pipenv run python manage.py migrate

# Load fixtures (populate the database)
pipenv run python manage.py loaddata breathecode/*/fixtures/dev_*.json

# Create super user
pipenv run python manage.py createsuperuser

# Run server
pipenv run start

# open localhost:8000 to view the api
# open localhost:8000/admin to view the admin

Testing in your local machine

Installation

# Check which dependencies you need install in your operating system
python -m scripts.doctor

# Install and setting up your development environment (this command replace your .env file)
python -m scripts.install

Run tests

# Testing
pipenv run test ./breathecode/activity  # path

# Testing in parallel
pipenv run ptest ./breathecode/activity  # path

# Coverage
pipenv run cov breathecode.activity  # python module path

# Coverage in parallel
pipenv run pcov breathecode.activity  # python module path

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 97.8%
  • HTML 1.9%
  • Shell 0.3%
  • Dockerfile 0.0%
  • Makefile 0.0%
  • CSS 0.0%