Comments (1)
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)
- 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
Maps API: Leaflet.js with OpenStreetMap
- Front-end JavaScript library, Leaflet.js, provides utility methods for rendering an interactive map, pins, and popups
- Map data is served from OpenStreetMap
Back-end: ASP.NET Web API framework
- DTOs transfer data between client and backend
- controller receives requestDTO from frontend and passes data into corresponding repository
- repository gets or sets data in sql db, returns data back to controller
- controller returns data from repo as DTO to client
CI / Deployment: Microsoft Azure
- azure automated builds triggered at every push to backend repo
- pull only backend solution (includes backend, tests, DTOs) from repo
- restores dependencies using nuget restore
- builds entire backend solution
- runs all test cases in tests project only if build success
- deploys to azure app service campusnowbackend.azurewebsites.net only when builds and tests pass
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_API -
asp.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
Task Flow Diagram
from 307-sec-05-team-3.
Related Issues (20)
- Automation
- admin can update any user's password
- Frontend: create event
- Frontend: update event
- Frontend: delete event
- Frontend: search events within a certain radius around given location on map
- Map should focus on event selected in sidebar
- admin can delete any user
- admin can delete any event
- admin can update any event
- setup azure devops deployment for backend
- split up unittests
- bookmarks should use existing CurrentUser property instead of taking in a userrecord as one of its parameters
- expose GetCurrentuser()
- GetUserById
- Backend: return human-readable status messages for postNewEvent, updateEvent, deleteEvent, registerUser, authenticate, logout
- Deploy backend to subdomain
- Deploy frontend to domain
- Sample data HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from 307-sec-05-team-3.