Projects for evaluation for Accendero Software
MongoDB FastAPI
To show the usage of REST-full CRUD operations on a MongoDB No SQL database using: Python FastAPI and Motor.
First set up the virtual environment for python to install deps to
$ python3 -m venv .venv
This pulls in a new virtual environment. Now let's activate it, so we can use it.
$ source ./.venv/bin/activate
Now we can continue on with our rest of our installation and running the project below.
Install the dependencies from the directory that the project sits
$ pip install -r requirements.txt
To serve in the browser
$ uvicorn app:app --reload
Or using Docker if you have it installed locally, or a GitHub CodeSpace will work to. Make sure you have passed the proper environment variables to the image before running it.
$ docker compose up --build
-
GET /—Welcome to the Student Course API
-
GET /students - Get all students
-
GET /students/{id} - Get a single student
-
POST /students - Add a new student
-
PUT /students/{id} - Update a student
-
DELETE /students/{id} - Delete a student
Python Data Sorter
For Sorting sales data, with we refactor of the code, you could sort any data in a csv or from a Excel workbook or any other spreadsheet software. For the purpose of this project, we will be using the sales data from a previous Java project.
The data in the csv files is not real sales data or has any attachment to Telsa or Elon Musk and is only used for the purpose of this project. Just In case anyone is wondering, for security and legal purposes.
Install the dependencies from the directory the project is in
$ pip install -r requirements.txt
To serve to the terminal, you can also use your favorite IDE that has python language support.
$ python3 main.py
Cat Book Alpha 1.0
A fun little project of social network Site. It is mostly compressed of: Node JS, ExpressJS Mongoose, Multer as middleware to Cloudinary, Passport with a Connection to Mongodb for auth, and Cloudinary with connection to MongoDB for image storage.
Install the dependencies from the directory the project is in
$ npm install
To serve to the terminal, you can also use your favorite IDE that has node language support. Note: You will need to have a .env file with the proper environment variables. So remember to head over to Cloudinary and MongoDB Atlas to get your keys, you will also need keys for cloudinary as well. Once the .env file is set up with the proper keys, you can run the project as the follows below.
$ npm start
You can also vist the site at: https://cat-book-alpha-1-0.onrender.com/ Thanks to Render for hosting the site for free and it was easy to set up.
Astro With supabase auth and react
A fun bonus project of our pyhton data soter report data, for more info check out the projects readme.md file.