Welcome to goals-manager repository 🎯
This application was created by me Allan Hipólito. Basicaly it`s a project have my goals in this year, you can create a goal, create a task relationed with certain goal, you can complete or imcomplete the tasks and these changes will appear in screen
- Next.js: A React framework for building modern web applications that provides server-side rendering and static site generation for optimized performance and a better development experience.
- Apollo Client: A library for managing and optimizing data state and interactions with GraphQL APIs, offering data caching, real-time updates, and easy integration with React and other libraries.
- Ant Design: A UI design system for React that provides a collection of pre-built components aiming to create rich and consistent user interfaces with an elegant design and a set of design patterns.
- TailwindCSS: A utility-first CSS framework that enables rapid styling of websites with classes like
flex
,pt-4
, andtext-center
, offering full control over layout and appearance without leaving your HTML.
- Node.js: A JavaScript runtime built on Chrome's V8 JavaScript engine.
- Sequelize: An ORM (Object-Relational Mapping) for Node.js that simplifies interaction with SQL databases like PostgreSQL, MySQL, and SQLite, allowing intuitive data modeling and query execution.
- GraphQL: A query language for APIs that allows you to request exactly the data you need and nothing more, simplifying the communication between client and server and providing a flexible and efficient way to manage data.
- Express: A minimal and flexible Node.js web application framework that provides a robust set of features for web and mobile applications.
- TypeScript: Brings static typing to JavaScript, ensuring a more predictable runtime behavior.
- Jest: Used for writing unit and integration tests for the backend.
- PostgreSQL: A powerful, open-source object-relational database system.
- It is necessary to configure the database, i recommend you use Supabase it will appear same like this
postgresql://postgres.[YOUR-USER]:[YOUR-PASSWORD][YOUR-URL]:6543/postgres
- After you will put you key in .env following the model in .env.example
Before you start, ensure you have node
and npm
installed on your machine.
-
Clone the repository:
git clone https://github.com/7ipolito/goals-manager.git
-
Navigate to the repository:
cd goals-manager
-
Install the dependencies:
- For install both dependecies run:
npm install
-
To run the frontend:
npm run start-frontend
This starts the React application on
http://localhost:5173
(or another available port). -
To run the backend:
npm run start-backend
This initializes the Express server, typically on
http://localhost:4000
. -
To run both simultaneously:
npm run start
This will invoke
concurrently
to start both the front and back ends.
Ensure that the frontend and backend are configured to run on separate ports to avoid conflicts.
I hope that you to enjoy this project, he was developed using graphql that is awesome way to work faster and easy and also with Ant Design gathering this two fantastic libraries.