038dbcb4eabbb3add86f7424aeede3c3565bf4f5
Happy
📖 About the Project
Happy is a full-stack web application designed to connect people with orphanages, making it easier to schedule visits and bring joy to children's lives. Developed during Rocketseat's Next Level Week, this platform allows users to find nearby orphanages on an interactive map, view detailed information about them, and contribute by registering new locations.
✨ Features
- 🗺️ Interactive Map: View all registered orphanages on a dynamic Google Map.
- 🔎 Orphanage details: Access detailed information for each orphanage, including photos, visiting hours, and instructions.
- ➕ Create Orphanages: A complete form allows users to add new orphanages to the platform, including image uploads and map location selection.
- 🚀 Modern Frontend: Built with the latest version of React (v18) for a fast and responsive user experience.
- 🔔 Toast Notifications: Provides a clean and modern UI for form validation and feedback.
🛠️ Tech Stack
This project is built with a modern, robust tech stack:
Frontend
- React 18
- TypeScript
- React Router v6
- Google Maps API
- Axios for API requests
- React-Toastify for notifications
Backend
- Node.js with Express
- SQLite for local development database
- TypeORM for database management and migrations
- Multer for handling file uploads
- CORS for handling cross-origin requests
🚀 Getting Started
To get a local copy up and running, follow these simple steps.
Prerequisites
You'll need to have the following software installed on your machine:
Installation & Setup
-
Clone the repository:
git clone <repository-url> cd happy-app -
Setup the Backend:
- Navigate to the backend directory:
cd backend - Install dependencies (this includes the
sqlite3driver):yarn install - Run the Backend Server:
The backend will now be running on
yarn devhttp://localhost:3101. Keep this terminal open.
- Navigate to the backend directory:
-
Setup the Frontend:
- Open a new terminal and navigate to the frontend directory:
cd web - Install dependencies:
yarn install - Configure the Google Maps API Key: Create a new file named
.envin thewebdirectory. Add your Google Maps API key to this file.REACT_APP_MAPS_API_KEY=YOUR_MAPS_API_KEY_HERE - Run the Frontend Server:
The frontend will now be running on
yarn starthttp://localhost:3100. You can now access the application in your browser!
- Open a new terminal and navigate to the frontend directory:
📜 License
This project is licensed under the MIT License.
Description
Happy is a full-stack web application designed to connect people with orphanages, making it easier to schedule visits and bring joy to children's lives. Developed during Rocketseat's Next Level Week, this platform allows users to find nearby orphanages on an interactive map, view detailed information about them, and contribute by registering new locations.
https://happy.joaoloureiro.dev.br
Languages
TypeScript
67.2%
CSS
28%
Dockerfile
3.4%
HTML
1.4%