I encourage you to view the online demo I pushed into my private server.
- Project could be run with dev expressJS-based server I prepared for development purposes (and not to kill the API ;)), or standard way using flickr API.
- Which will be opened is decided in
.envfile, which is REQUIRED to be created. You can just copy.env.samplewhich is in repository. - In
.envfile, you can decide which server to run by settingUSE_DEV_SERVERto eithertrueorfalse. Please note that dev server will work only whenNODE_ENVhas valuedevelopment, so settingUSE_DEV_SERVER=truewithoutNODE_ENV=developmentwill result in using flicker API eventually. - If you want to check the dev server, please run
npm run server:devbefore runningnpm run react:dev. - Command
npm run react:buildbuilds production version, which should be generated intodistcatalog and will use flickr API. Please set theNODE_ENV=productionbefore building. - Did I mention you need to run
npm installbeforehand? ;)
Running built version locally may result in security warning. In that case, please make sure you're running the app in server environment.
- Writing missing tests
- Setting up Storybook
- WAI-Aria accesibility attributes adding
- Potentially dynamic imports and Suspense
- A few TODOs
- ...and probably so much more :)