Coder Social home page Coder Social logo

k2m5t2 / portfolio-2 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from significa/significa.co

0.0 0.0 0.0 87.73 MB

This is the repo with the source code for Significa's website, our very own nest on the web. Launching a new website has been something we have been wanting to do for years, but we never found the time – the shoemaker's son goes barefoot, right? In 2023, we finally did it. We find it a work of art, but of course, we are biased. Give it a go.

Home Page: https://significa.co

License: GNU Affero General Public License v3.0

Shell 0.12% JavaScript 0.90% TypeScript 7.51% CSS 0.02% HTML 5.03% Svelte 86.42%

portfolio-2's Introduction

readme banner with significa's illustrations

Significa website

This is the repository with the source code for Significa's website, our very own nest on the web. We find it a work of art, but of course we are biased.

If you find it interesting, inspiring or learn something from it, make sure to leave a star ⭐️

Architecture

We developed this website using Svelte + SvelteKit, and a custom UI library @significa/svelte-ui published under significa/significa-svelte-ui

To accomplish all features, we leverage a few external services:

  • CMS - Storyblok: It's where we configure the website, build pages, store and serve assets.
  • Storage bucket - AWS S3: Used to store attachments, uploaded via the contact forms.
  • Email dispatcher - AWS SES: Used to dispatch notification emails.
  • NOSQL database - AWS Dynamo DB: Intended to store and retrieve egg drawings "seggs" drawn by our users.
  • Form submission database - Notion: We create a new entry on a Notion database when someone submits a form. This way we can keep everything in a centralized space.

The website is hosted on Vercel, and deployed via GitHub Actions workflows. All Continuous Integration (CI) validations are also made via GiHub Actions.

We have three distinct environments for the website:

  • local-development for developers to develop and test their code on their machine;
  • staging bounded to the main branch and preview deployments (pull requests);
  • production deployed when a release is published.

This means that the whole infrastructure has a version for each environment. Includes distinct keys and external and integrations: AWS resources, Notion applications, databases, etc.

Here's how everything is connected (arrows represent the request initiator):

infrastructure diagram

Contributing

The development of this project follows an internal roadmap. Therefore we usually are only open to improvements and bug-fixes.

Requirements

  • Install the node version specified in the .nvmrc file (using your favourite node version manager).

  • Get the local development .env using 1password-secrets: 1password-secrets local pull. Or create one with based on the example in .env.example.

  • Install the dependencies with npm install (or npm ci for a frozen lockfile).

Development

  • Start the development server: npm run dev
  • Auto format the code: npm run format

Testing and linting

  • npm run validate
  • npm run test

Deployment and release

The staging branch is bounded to the main branch, create a PR against it for a new feature.

To deploy a new production version, create a semver release in GitHub (prefixed with v, for example: vX.X.X).

To create hotfixes:

  • Check-out to the latest release git checkout vX.X.X;
  • Create a new branch git checkout -b hotfix/XXXX;
  • Create a PR to main, get approval, and merge it;
  • Create a new release based on your hotfix branch. Use release/xxx branches to batch fixes together.

License

This material is licensed under the AGPL License, feel free remix-it, learn and play with it as you wish. But note that distribution of the source code under the same license is mandatory.

portfolio-2's People

Contributors

cleysonlb avatar danielscosta avatar danilowoz avatar darosadev avatar dependabot[bot] avatar filipeff95 avatar guilherme1805 avatar isabelsa avatar joeldmferreira avatar kaaps avatar michellemeinert avatar pdrbrnd avatar pedrobslisboa avatar pedroet avatar ruicsereno avatar strapazzon avatar tofran 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.