Git Product home page Git Product logo

innolearn's Introduction

Introduction

  • This is a Next.js application for building the Emeritus Microsites bootstrapped with create-next-app.
  • The content for these landing pages will be powered through Contentful

Folder Structure

Folder structure is very key for any new application.

We have divided the folders based on how landing pages are visually organized

  • Layouts - Defines the layout of the pages
  • Sections - A page can have multiple sections like header section, foooter section, banner section, testimony section etc. Section is basically a collection of modules
  • Modules - A module is a collection of components that represents the part of a section like Facutly card in a faculties section. Module is based on components
  • Components - Components are the basic building blocks of the pages. example button, text box, links are considered to be components

image

Getting Started

Install Node

  • Use nvm to install version of node mentioned in .nvmrc file.
  • If you don't have nvm follow the link to get it installed https://github.com/nvm-sh/nvm
  • Once nvm is installed do
nvm use

Install Yarn

npm install yarn

Start the development server:

yarn dev

Open http://localhost:3000 with your browser to see the result.

Start with Nginx (Mac)

Install Nginx:

brew install nginx

If you want to test a subdomain (eg: wsj.partner.emeritusdev.com), add the following line to /etc/hosts using sudo:

127.0.0.1       localhost       wsj.partner.emeritusdev.com 

You can add as many subdomains as you want by adding more lines to /etc/hosts.

Start the server with:

yarn dev-nginx

If you get a permissions error from the command try to give execution permissions to the script with:

chmod 744 bin/dev-nginx

You can access the subdomains you configured from your browser:

wsj.partner.emeritusdev.com:3000

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

innolearn's People

Contributors

pitta231 avatar

Watchers

 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.