CampusNow is a web application that allows users to browse, search for, and post events that are occurring near them. The app uses a street map and pins to allow users to easily visualize where events are taking place, as well as a side bar that provides a list of upcoming events and an interface to perform the CRUD actions (post, view, edit, and delete events).
View components such as <Map>, <Event>, and <Login> are defined in .svelte files, including HTML markup, CSS styles/animations, and JavaScript functionality
The client-side JavaScript fetch() API makes HTTP requests to the REST API backend
The components and JavaScript code are compiled into static HTML/CSS/JavaScript assets via Svelte's Node.js Rollup process
Description
CampusNow is a web application that allows users to browse, search for, and post events that are occurring near them. The app uses a street map and pins to allow users to easily visualize where events are taking place, as well as a side bar that provides a list of upcoming events and an interface to perform the CRUD actions (post, view, edit, and delete events).
Tech Stack
Front-end: Svelte (via Rollup and Node.js)
<Map>
,<Event>
, and<Login>
are defined in .svelte files, including HTML markup, CSS styles/animations, and JavaScript functionalityfetch()
API makes HTTP requests to the REST API backendMaps API: Leaflet.js with OpenStreetMap
Back-end: ASP.NET Web API framework
CI / Deployment: Microsoft Azure
Getting Started
Svelte documentation: https://svelte.dev
MSTest tutorial: https://docs.microsoft.com/en-us/dotnet/core/testing/unit-testing-with-mstest
JavaScript
fetch()
API documentation: https://developer.mozilla.org/en-US/docs/Web/API/Fetch_APIasp.net web api https://docs.microsoft.com/en-us/aspnet/web-api/overview/getting-started-with-aspnet-web-api/tutorial-your-first-web-api
REST API documentation page: http://api.campusnow.tech/help
Leaflet.js documentation page: https://leafletjs.com/
Connecting to SQL: https://docs.microsoft.com/en-us/dotnet/api/system.data.sqlclient?view=netframework-4.8
Project UML Diagram
ProjectUML.pdf
Task Flow Diagram
TaskFlow.pdf