This app is part of a blog post on how to create a react client consuming data using graphql from a node server.
Generic catalog application that allows you to create items, tagging and rating them.
Technologies/libs used:
- Server
- Node
- Express
- Apollo Server
- Sequelize
- Client
- React (using hooks most of the time)
- Apollo Client
- Semantic UI
-
Clone the repo
-
[Server] Create an .env file inside the
/serverfolder. These config are loaded at theconfig.jsPORT={SERVER_PORT} (or leave blank for default 3002) CORS_ORIGIN={CLIENT_HOST} (leave blank for default http://localhost:3000) DB_DATABASE={database} DB_USERNAME={dbusername} DB_PASSWORD={dbpassword} DB_HOST={host} DB_DIALECT={dialect} (mysql | postgres | mssql)
-
[Server] Run
npm startinside the server folder to start the server. Check http://localhost:{PORT}/graphql to enter the graphql playground. -
[Client] Configure .env to client (not implemented yet)
-
[Client] Run
npm startinside/clientfolder
Screens:
Items can be filtered by name or by tags.
Manage tag page where the user can view, create and delete tags.



