Plain HTML / CSS / JavaScript screensaver using images from NASA's Astronomy Picture of the Day.
- Run
npm install
- Register for an API key for NASA APOD and create
apod_key.js
in root directory
module.exports = [API KEY];
- Create database in PostgreSQL and create
db_config.js
with database credentials
module.exports = {
database: [DATABASE],
user: [DB_USER],
password: [DB_PASSWORD]
};
- Execute commands from
apod.sql
on database
# Run application
npm start
# Run application using Nodemon
npm run watch
Navigate to /api/pictures/load to pre-populate database
Navigate to / to view screensaver
- HTML
- CSS
- JavaScript
- jQuery
- Node.js
- Express.js
- NASA APOD API