Code Monkey home page Code Monkey logo

etl_project_monorepo's People

Contributors

matthewte avatar

Watchers

 avatar  avatar

etl_project_monorepo's Issues

Add a redirect or a homepage to the project

Currently root url for the whole project on the Nginx server routes to the API, which doesn't have a root url. This means that the root url throws and error (currently the actual entrypoint for the REST API is /swagger/ to get the API schema. Add a redirect or a page that displays on root url that redirects to either the Swagger UI or the /dev/ section of the project so Nginx can correctly route traffic.

Modify the Model Serializer for the Blog Category Modle to allow for POST request creation

When a blog post is created with a new category I need the API to create a category with that name when it receives the POST request. I will probably have to overwrite the model serializer create() function like the stack overflow article. Also check the DRF documentation for changing read-only seralizers
https://www.django-rest-framework.org/api-guide/relations/#writable-nested-serializers

https://stackoverflow.com/questions/73162763/create-foreign-key-objects-inside-serializer
image

Add markdown description to the Swagger UI

Add a description to the Swagger UI section that outlines how to use the API and just introductory documentation. I think it can be styled in markdown or it might be non-escaped HTML.

image

Switch a PSQL database for V3 backend.

Currently the back-end is a janky sqlite3 database with a sketch docker volume that does not seem to work. This needs to be replaced with a psql instance that correctly connects to the docker volume.

  • Set up PSQL connection on the REST API backend with environment variables.
  • Create docker-compose instance in nginx repo that creates and configures the psql container.
  • Connect the data from the PSQL container to an external volume.
  • Re-Deploy onto Droplet and test integration.

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.