Created event POST and GET API endpoints. Implemented CORS
Showing
- Backend/controllers/eventControllers.js 27 additions, 0 deletionsBackend/controllers/eventControllers.js
- Backend/index.js 9 additions, 1 deletionBackend/index.js
- Backend/models/eventModel.js 58 additions, 0 deletionsBackend/models/eventModel.js
- Backend/node_modules/.package-lock.json 12 additions, 1 deletionBackend/node_modules/.package-lock.json
- Backend/node_modules/cors/CONTRIBUTING.md 33 additions, 0 deletionsBackend/node_modules/cors/CONTRIBUTING.md
- Backend/node_modules/cors/HISTORY.md 58 additions, 0 deletionsBackend/node_modules/cors/HISTORY.md
- Backend/node_modules/cors/LICENSE 22 additions, 0 deletionsBackend/node_modules/cors/LICENSE
- Backend/node_modules/cors/README.md 243 additions, 0 deletionsBackend/node_modules/cors/README.md
- Backend/node_modules/cors/lib/index.js 238 additions, 0 deletionsBackend/node_modules/cors/lib/index.js
- Backend/node_modules/cors/package.json 41 additions, 0 deletionsBackend/node_modules/cors/package.json
- Backend/package-lock.json 23 additions, 3 deletionsBackend/package-lock.json
- Backend/package.json 2 additions, 1 deletionBackend/package.json
- Backend/routes/eventRoutes.js 13 additions, 0 deletionsBackend/routes/eventRoutes.js
Loading
Please register or sign in to comment