Skip to content

📸 node.js/express.js back-end for my photo storage app.

License

Notifications You must be signed in to change notification settings

mat-sz/photos-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

photos-api

API for my photo storage system.

This app is not ready for production deployment yet.

Environment variables

You can also create a .env file.

Variable Default value Description
IP 127.0.0.1 IP address to bind to.
PORT 4000 Port to bind to.
HASHID_SALT salt Salt for hashids, make sure to set it to something unique.

Installation

Run the following commands:

npm install
npx sequelize-cli db:migrate
npx sequelize-cli db:seed:all

This will generate an user with the following details:

Username test
Password test

There is no way to change the password without manually editing the database file yet.

After executing the commands above, download photos-web, follow the instructions there and copy the resulting build to ./public.

About

📸 node.js/express.js back-end for my photo storage app.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published