Code Monkey home page Code Monkey logo

facilita_juridico_test's Introduction

FacilitaJuridicoTest API - Random Activity Generator

Welcome to the FacilitaJuridicoTest API - a simple web application designed for the purpose of showcasing my developer skills. This project is built using Flask for the backend and React JS for the frontend. The goal is pretty simple: generate a list of random activities based on user requests and parameters. The activities can be monitored (done/undone), removed, or added later. This project uses the awesome Bored API, which is free to use! (more information about them here)

Getting Started

The Bored API project consists of two main folders: backend and frontend. You'll need Python3 & Node.js to run this project.

Backend Setup

  1. Navigate to the backend folder.
  2. Run python main.py to start the server.
  3. This will automatically create our sample database.

Frontend Setup

  1. Navigate to the frontend folder.
  2. Then, run npm install
  3. After that, run npm run dev
  4. The React app should be running now.

Now, go to a browser and open it up the URL for the frontend app.

Project Details

This application has theses features:

  • Generating a list of random activities based on user requests.
  • Creating a new activity per user filters.
  • Saving, Monitoring, Removing and Checking activities from our database.

Challenges

During the development of this project, some of the challenges faced were:

  • Ensuring the correct usage of the Bored API.
  • Implementing a system to manage the activities.
  • Creating an intuitive user interface with React JS.
  • Parsing the data correctly to our database.

Possible Improvements

For future improvements, some ideas include:

  • Implementing unit testing and writing tests to ensure the application's functionality and stability.
  • Improving scalability by optimizing the code and implementing caching mechanisms.
  • Handling wrongful user inputs by implementing a robust input validation and error handling.
  • Enhancing the user interface with better design and visual appeal (even though I am not a design artist, I can still try my best!).
  • Implementing a more sophisticated algorithm for generating activities (maybe allow for more filters).
  • Adding user authentication and authorization.
  • Setting a limit on the number of requests a user can make to prevent abuse and improve system performance.

By implementing these improvements, this app can become a more robust and user-friendly application, maybe even a production-wise app.

Conclusion

This project is a simple web application that demonstrates the ability to use a API, generate random activities and manage them in a database. It provides a foundation for more complex applications, showcasing the power of Flask and React JS, along with the flexibility of REST API design. I hope this project can showcase accurately my skills as a web developer and software engineer.

If you have any questions, feel free to send me an e-mail at [email protected].

Cheers! 🎉

facilita_juridico_test's People

Contributors

azevedev avatar

Watchers

 avatar

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.