Git Product home page Git Product logo

backend_proyecto_final's Introduction

API Starter Template (Python & Django REST)

A django-rest boilerplate for 4Geeks Academy students. It features ready-for-deployment on heroku instructions.

Open in Gitpod

Features

  • Ready to deploy to heroku in just 1 minute (for free).
  • 100% compatible with gitpod.

1) Install any default packages (similar to npm install when using javascript) and get inside your recently created python envirnoment

$ pipenv install

2) Run migrations

  1. $ pipenv run migrate Run database migration
  2. $ pipenv run start Run the server

What next?

Your python API should be running smoothly. You should read the docs for tutorials.

You can go ahead and add/update the following files:

  • api/models.py to include more tables/entities into your database.
  • api/urls.py to include more endpoints and match them with views
  • views.py to specify wich methods will apply to each endpoint (GET, POST, PUT, DELETE)

Aditional Tutorials

Packages Being Used (Documentation)

Deploy your project to Heroku

If you don't have your code connected to a github repository, please do it:

$ git init
$ git add -A
$ git commit -m "Initial commit"

Then, run these 3 steps to deploy to heroku:

$ heroku create
$ git push heroku master

$ heroku run python manage.py migrate

backend_proyecto_final's People

Contributors

ryoko-san avatar

Watchers

James Cloos avatar

backend_proyecto_final's Issues

*Estadisticas

-El sistema debe calcular estadísticas de cuanto ha trabajado cierta persona en el mes/semana

Los datos de usuario pueden ser modificados

  • Añadir nuevos usuarios
  • Eliminar usuarios
  • Editar información de usuarios (correo, contraseña, ocupación, tarea del momento)
  • Mostrar datos de todos los usuarios guardados
  • Mostrar los datos de un usuario en particular

Sistema debe mostrar los turnos

  • Se deben devolver los turnos del mes actual (del usuario que está logueado)
  • Permitir mostrar turnos específicos (del usuario que está logueado)

Luego de la autentificación

-Al usuario común se le redirigirá a la página de usuario común
-Al administrador se le redirigirá a la página de administradores

Recuperar contraseña, vista nueva

-Enviará un mail al correo escrito con un link caducable que abrirá una ventana única y exclusivamente para cambiar la contraseña
-Esta vista contiene una caja de texto para la nueva contraseña, y otra para confirmarla

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.