This project was bootstrapped with Vite.
Event Scheduler is a React app that allows users to create events. An event can be anything, such as a sport event, team meeting, party announcement, personal advertisement, etc. An event consists of title, start and end date/time, and description. Events can also be shared on FB or Twitter. All events are public by default (visible to everyone). They can also be private (only visible to you) by checking the private checkbox.
If you're looking for a frontend or backend starter project, check these out:
- Frontend starter project built with React, GraphQL (Apollo client) and Typescript.
- Backend starter project built with NodeJS, GraphQL (Apollo server), TypeScript, MongoDB and Prisma.
Demo 🎥
- React (react hooks)
- Typescript
- Bootstrap/react-bootstrap
- Styled components
- Apollo client
- JS cookie
- NodeJS with Express
- Typescript
- Apollo server express
- JSON web token
- MongoDB with mongoose
Note that graphql
schemas are generated on the frontend using GraphQL Code Generator. This means that if you make any changes to the schema (server/graphql/schema/index.ts), make sure that the .graphql
files in the frontend are also updated accordingly.
Next, run yarn codegen
to re-generate the queries and mutations (before you do this, make sure the server is up and running by either running yarn start
or yarn start:server
)
Make sure MongoDB is up and running
Create a .env
file in the project's root directory, and copy & paste what's in .env.example
, then run yarn
:
Runs the backend and frontend apps simultaneously in the development mode.
Or if you prefer running the apps separately by running
yarn start:web
andyarn start:server
in separate terminals.
The app will automatically start at https://localhost:3000 in the browser.
You will also see any Lint or Typescript errors in the console.
- User signup and login
- Create, update and delete events
- Search & pagination
- Make events as private (only visible to creators)
- Session expiry warning (displayed when being idle for 3 minutes after logging in)
- Share events with family & friends on Facebook and Twitter
- User profile
- Admin tab & profile
coming soon...
coming soon...