Skip to content

Phone Book App is a full-stack application designed to manage and store contact information. This project is built with modern web technologies and follows best practices for a scalable and maintainable codebase.

Notifications You must be signed in to change notification settings

JhonatanGAlves/phone-book-app

Repository files navigation

Phone Book App


🖥️ Project

Phone Book App is a full-stack application designed to manage and store contact information. This project is built with modern web technologies and follows best practices for a scalable and maintainable codebase.

🧑‍💻 Technologies Used

  • Backend:

    • Node.js
    • Express
    • Zod
    • Validator
    • UUID
    • Prisma
    • Pg
    • PostgreSQL
  • Frontend:

    • React
    • TypeScript
    • Tailwind CSS
    • Radix UI
    • React Icons
    • React Input Mask

📋 How to Use

To get a local copy of the project up and running, follow these steps.

Prerequisites

Make sure you have the following installed on your machine:

OBS: Make sure PostgreSQL service is running.

  1. Start PostgreSQL service
    Linux (Ubuntu/Debian):
   sudo systemctl start postgresql

MacOS (Using Homebrew):

   brew services start postgresql

Installation

  1. Clone the repository:
   git clone https://github.com/JhonatanGAlves/phone-book-app.git
   cd phone-book-app
  1. Install dependencies::
   npm install
  1. Setup the environment variables:
    Rename .env.example to .env and fill in the required environment variables. Something like this:
    • POSTGRES_USER=postgres
    • POSTGRES_PASSWORD=password
    • POSTGRES_PORT=5432
    • POSTGRES_DB=phonebookapp
    • POSTGRES_HOST=localhost
    • PORT=8080
    • DATABASE_URL="postgresql://postgres:password@localhost:5432/phonebookapp"
  2. Run database migrations:
   npx prisma migrate dev
  1. Start the application:
    Backend:
   npm run start:dev

Frontend:

   npm run dev

Usage

Once the server is running, you can access the application at http://localhost:5173 (or the port you specified in the .env file).

License

This project is licensed under the MIT License.

💬 Contact


About

Phone Book App is a full-stack application designed to manage and store contact information. This project is built with modern web technologies and follows best practices for a scalable and maintainable codebase.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published