Code Monkey home page Code Monkey logo

awwward-rebuild-sotd--2's Introduction

awwward-rebuild-SOTD--2

JS Standard Style

Screenshot of Website

This is the repository of Exo-ape Dummy Code. We decided to be transparent and take a step forward in making this entire project open source so people can learn how to make the things we created. The website was awarded at Awwwards with Site of The Day and Developer Award in MAY 23, 2022.

Site-view

Site loading Animation

site-view

Site Page Transitions Animation

site-view

Site Portfolio Page's Slider Animation

site-view

Overview

Front End

The front end of the portfolio was made entirely with plain JavaScript code using ECMAScript 2015+. It's also using libraries such as GSAP, Locomotive Scroll, Lodash and Three.js. and using Ajax for create page transitions. To generate our static files that will be uploaded to the environment, we're using Webpack.

Note:

In the frontend (this repo), used images are no optimized. so, this dummy link performce is a lit-bit low. if, you want to boost your performce and reduce loading time, so compress all used images and used .webp & .jpg format.

Back End

The back end of the portfolio was made with Express and Prismic. There's nothing fancy happening in the logic of it, it's just a bunch of routes and some data that will populate our Pug views.

Getting Started

You need to have Node.js and npm installed in your machine, these are our only dependencies to run the project locally.

After that, you need to setup an account at Prismic and create your fields with the same names used by this application, in the end of this README file you're able to find all the instructions related with it.

We're using a .env file to retrieve our credentials used by Prismic and also the Google Analytics ID. So you need to create a .env file in the root of this application like this:

GOOGLE_ANALYTICS=YOUR_GOOGLE_ANALYTICS

PRISMIC_ACCESS_TOKEN=YOUR_ACCESS_TOKEN
PRISMIC_CLIENT_ID=YOUR_CLIENT_ID
PRISMIC_CLIENT_SECRET=YOUR_CLIENT_SECRET
PRISMIC_ENDPOINT=YOUR_ENDPOINT

After creating your .env file and setting up your Prismic account, you're able to run your project without any problems by running the commands below in your terminal.

# Clone the project.
git clone https://github.com/MAGGIx1404/awwward-rebuild-SOTD--2.git

# Install npm depedencies.
npm install

# Configure .env variables and run the website.
npm run dev

Prismic

I think this might be the trickiest part of running this project locally, you need to understand how Prismic works, then create your fields there and then finally populate the content. To make your life easier, I'm providing all JSON structures inside the prismic folder of this repository. Don't forget to match the names used in the JSON files with the ID of your Custom Type of Prismic.

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.