A platform allows people to create and share events. A user can register and login. A logged in user can create new event and view all events including those created by other users. A logged in user can also view details of an event and then book the event. He can also view his bookings and delete his bookings.
- MongdoDB, Express.js, React.js, Node.js, GraphQL, JWT
git clone git@github.com:EricZhou0815/Event-booking-react-node-graphql.git
There are two package.json files, for front-end and back-end.
npm install && cd front-end && npm install
This server uses MongoDB Atlas as database. The connection string is in models/index.js. Database connection account and password are in .env file.
Please the .env config is only used for development. The config will change when it is deployed.
If you need to deploy your own server, please create a MongoDB Atlas database and use your own data base. For detailed process, please reference this tutorial:
https://www.thepolyglotdeveloper.com/2018/09/developing-restful-api-nodejs-mongodb-atlas/
npm run start
cd frontend && npm run start