Giter Club home page Giter Club logo

cocktailsapi's Introduction

Project Name & Pitch

Cocktails app

web application that provides user with random cocktails, allows user to view different cocktails based on first character search and different ingredients, user can also view more details about each of those cocktails in a new page

Installation and Setup Instructions

Clone down this repository. You will need node and npm installed globally on your machine.

Installation:

npm install

To Start Server:

npm run dev

To Visit App:

localhost:3000/

Reflection

This was a 5 days task for Sigbar.

Project goals were:

  • Show a random cocktail in the home page with its details.

  • Allow user to see other cocktails with the same ingredient of the random cocktail by clicking on them.

  • Allow user to search by the first character of a cocktail

  • Viewing those cocktails in cards the include an image and name of the cocktail

  • User can click on any of those cocktails to view its details in a seperate page

Technologies used and Why

  • Next.Js: I used Next.js on top of React.js to take advantage of its main features including the SEO and the server side rendering
  • TypeScript: typescript was used here to make the project strongly typed and to avoid errors in the development process
  • TailwindCss combined with Sass modules: this is my preferred ui combination as tailwind offers great ease in development with its utility classes, nevertheless this ease comes with very long lines of classes which might be repeated. to avoid this I made use of the scss modules and tailwind features i.e: @apply, @layer utilities, @layer components

cocktailsapi's People

Contributors

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