Skip to content

cosmicds/cds-api

Folders and files

NameName
Last commit message
Last commit date
Jan 18, 2024
Oct 1, 2024
Feb 20, 2025
Oct 16, 2024
Sep 17, 2024
Oct 30, 2023
Apr 4, 2022
Apr 14, 2022
Sep 30, 2024
Dec 4, 2024
Dec 4, 2024
Mar 5, 2024

Repository files navigation

cds-api

This repository contains the source code for an API to access and manipulate the CosmicDS database. The goal here is to provide a single interface for the multiple pieces of CosmicDS software (the CosmicDS app, the website, etc.) to interact with our data.

Project structure

This API is a relatively simple server written in TypeScript using Express. This API handles things like user login, account creation, classroom creation, as well as multiple endpoints for fetching data from the database.

Interaction with the database (a MySQL database living on AWS) is handled via Sequelize.

Deployment

On a push to the main branch, this API is automatically built and deployed on an AWS EC2 instance managed via Elastic Beanstalk. The API is reachable at https://api.cosmicds.cfa.harvard.edu/.

About

API for accessing the CosmicDS database

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published