Giter Site home page Giter Site logo

jonathan-lph / mylittleairport Goto Github PK

View Code? Open in Web Editor NEW
6.0 1.0 0.0 40.14 MB

A collection of all musical publications of the Hong Kong based band my little airport.

Home Page: https://mylittleairport.app/

License: MIT License

JavaScript 2.61% TypeScript 78.52% Sass 16.17% SCSS 2.70%
archives band cantonese chinese literature lyrics music mylittleairport nextjs

mylittleairport's Introduction

my little airport

A collection of all musical publications, including albums, EPs, singles, compilations, and corresponding tracks, of the Hong Kong based band my little airport. Published at mylittleairport.app.

Installation

Basic Installation

  1. Clone the repository.
  2. Install dependencies.
npm install
  1. Run development server at localhost:3000.
npm run dev

Using MongoDB (optional)

Data files are available at src/__data and act as a database for generating the pages. MongoDB (Mongoose) are used as an alternative database to manipulate the files. If you wish to use these specific database functions, additional setup is needed.

  1. Create a MongoDB cluster.
  2. Clone .env.local.example.
  3. Paste your connection string as the value of MONGODB_URI.
MONGODB_URI=<CONNECTION_STRING>
  1. Save the file as .env.local.

You may then run the server and import the data into your cluster.

  1. Run development server at localhost:3000.
npm run dev
  1. Call API localhost:3000/api/import.

Certain functions on Next.js SSG function getStaticProps can be replaced to fetch from MongoDB instead. Example functions are included in src/services/database/*.

For more details on setup, reference MongoDB documentation.

Contribution

Guidelines for contributions will be published soon. Welcome to modify or provide further information to current data at src/__data by submitting a pull request.

Credits

All copyright and credits, including album artworks and intellectual propreties, go to my little airport.

mylittleairport's People

Contributors

jonathan-lph avatar

Stargazers

 avatar  avatar  avatar  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.