Giter Club home page Giter Club logo

ebabel-guid's Introduction

React.js and Node.js Freelancer in Amsterdam - Contact Thomas Amar on +31 (0)6 21 80 98 99

Development

Pre-install

Your local environment relies on Node.js, Firebase, and Gatsby.js (you may need to sudo on your machine):

npm install -g firebase-tools gatsby-cli

Once installed, you may need to login if it's not already done:

firebase login

If you are in a cloud virtual machine, you might need to run a different login command, and when on another device you have authenticated, paste back into virtual machine the authorozation token:

firebase login --no-localhost

Install and develop

During development, there are dev dependencies that should be installed.

npm install
  • npm start โ€” This will spawn a development server with a default port of 8000.
  • npm run build โ€” This will output a production build in the public directory.

Deployment

Deploy only hosting

npm run build
firebase deploy --only hosting

Deploy both hosting files and database

npm run build
firebase deploy

Note: for now, this website doesn't have any database.

Future development

todo tasks

  • Rewrite code in Typescript.
  • Fix: html output reloading and not giving a "current page" style in Nav component.
  • Fix: page not found is no longer used - check how Gatsby handles routing and redirecting to 404.
  • Add a privacy policy.
  • Add a download link for my sample contract and explain I can also work with the client's contract if they don't want to use mine.
  • Add JSDoc.
  • Add a block "Favourite quotes":
    • "Functionality is an asset, code is a liability".
  • Support translating to Dutch and French based on browser preference. Add links to switch languages.
  • End to end testing with Cypress
  • Feedback from Alen: free app on the store would be better, people don't want to pay for apps.
  • Fix: Layout component is difficult to unit test.
  • Write more unit tests for NewsletterSignup component.
  • Decide whether I want to write unit tests for Pages or if that's not so useful.
  • Rethink the color scheme, Eve isn't keen on the colors, especially the blue background.
  • On homepage, add a photo of myself (Eve advice), possibly a video.
  • Indicate whether the internet is down or not (also toasts?).
  • Indicate visually (toast?) the website is offline-ready.

ebabel-guid's People

Contributors

ebabel-eu avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.