Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

VengadeshRaj/studenthub-tanstack-eco-system

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
31 Commits
 
 
 
 
 
 

Repository files navigation

StudentHub:

This repository contains both the client-side and server-side code for a StudentHub application. The application allows you to view existing student records, add new students, and view detailed student information. It is developed using React JS for the frontend and Node JS for the backend.

This application is mainly focused to understand the features offered by Tanstack Query https://tanstack.com/query/latest

Prerequisites:

  • Node.js installed on your system.
  • PostgreSQL database installed and running.

Technologies Used:

Client :

  • React JS – Frontend library.
  • TanStack Query (React Query) – Server state management, caching, and data refetching.
  • TanStack Form - Handle form state management.
  • Zustand – State management.
  • Tailwind CSS – Utility-first CSS framework.

Server:

  • Express JS – Backend framework.
  • CORS – To handle Cross-Origin Resource Sharing.
  • pg – PostgreSQL client for Node.js.

Database:

  • PostgreSQL – Relational database for storing student records.

Setup Instructions:

  1. Clone the repository:
    https://github.com/VengadeshRaj/studenthub-tanstack-eco-system.git   
  2. Install client dependencies: cd client npm install
  3. Install server dependencies:: run cd ../server npm i
  4. Setup the database: Run the PostgreSQL scripts to create tables and load some sample records. Path to scripts: server/docs/db_scripts.md
  5. Update database credentials: Modify the configuration in the server to match your local PostgreSQL setup.
  6. Start the server: cd sever npm run start
  7. Start the client: cd client npm run start
  8. Access the application: Open your browser and navigate to http://localhost:3000

About

Student record management application using TanStack Eco system. A CRUD application is mainly focused to understand the features offered by Tanstack Eco system

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.