Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/calcagnoloic/devjobs-app
Devjobs board app build with 1) ReactTS/TailwindCSS and Vite for frontend and 2) Python/Flask and Docker for backend. π§ WIP : Only in local environment π§
https://github.com/calcagnoloic/devjobs-app
docker docker-compose flask python reacttsx storybook tailwindcss vite
Last synced: 26 days ago
JSON representation
Devjobs board app build with 1) ReactTS/TailwindCSS and Vite for frontend and 2) Python/Flask and Docker for backend. π§ WIP : Only in local environment π§
- Host: GitHub
- URL: https://github.com/calcagnoloic/devjobs-app
- Owner: CalcagnoLoic
- Created: 2024-01-26T20:55:20.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-05-30T12:52:12.000Z (5 months ago)
- Last Synced: 2024-05-31T00:39:59.157Z (5 months ago)
- Topics: docker, docker-compose, flask, python, reacttsx, storybook, tailwindcss, vite
- Language: TypeScript
- Homepage:
- Size: 838 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DevJobs app
π οΈ AVAILABLE LOCALLY ONLY FOR THE MOMENT π οΈ. The environment variables (test) for starting the project are given in the section with docker compose. If you have any problems, don't hesitate to open an issue or contact me directly π
If you want to run the project locally, use docker and a code editor, having first cloned the project.
## Launching backend `docker compose`
πWith docker compose, locally, the database is persisted but not made available on github. π
To access the data in the database, you'll find a file called `data.sql` in the backend folder.
To use it, start docker compose and connect to the Adminer service at http://localhost:8080/.To connect to the database service, simply write these environment variables to a file named `.env` at the root of backend folder. These variables is dummy data. During the development phase, these variables will no longer be available.
```
MARIADB_ROOT_PASSWORD=example
MARIADB_USER=admin@devjobs
MARIADB_PASSWORD=secretpw
MARIADB_DATABASE=devjobs
```Then you can run this command:
```cmd
docker compose up
```οΈπ¨βπ§οΈ ***WARNING***, it is possible that the backend service crashes on first execution with this message π¨βπ§
```
οΈbackend-1 | sqlalchemy.exc.OperationalError: (pymysql.err.OperationalError) (2003, "Can't connect to MySQL server on 'database' ([Errno 111] Connection refused)")
```π¨βπ§If so, just restart the service from docker desktop. π¨βπ§
Once all services are up and running, return to adminer and log in with MARIADB data. On the left, you'll see the βImportβ action. All you have to do is select the sql file and your database is ready! π₯³
## Launching frontend with vite
```cmd
cd frontend
npm i
npm run dev
```## User stories
Your users should be able to:
- [ ] Be able to filter jobs on the index page by title, location, and whether a job is for a full-time position
- [x] Be able to click a job from the index page so that they can read more information and apply for the job
- [x] View the optimal layout for each page depending on their device's screen size
- [x] See hover states for all interactive elements throughout the site
- [x] Have the correct color scheme chosen for them based on their computer preferences
- [x] Build this project as a full-stack application## Built with
- Semantic HTML5 markup
- TailwindCSS
- React-TS
- Storybook 7.x
- Chromatic
- Python 3.12 - Flask
- Docker 4.30## Authors
- Frontend - [@amel-selmane](https://github.com/amel-selmane)
- Frontend/Backend/Docker - [@CalcagnoLoic](https://github.com/CalcagnoLoic)