Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Airbean API - Grupp 5

Welcome to the Airbean API project! This is a project involving creating a backend API for the Airbean web application, where users can order coffee and have it delivered via drone.

Table of Contents

Features

  • User Authentication: Sign up, log in, and manage user profiles.
  • Coffee Menu Management: View and manage the coffee menu.
  • Order Processing: Place and manage coffee orders.
  • Order Tracking: Track the status of coffee orders.

Installation

To set up the project locally, follow these steps:

  1. Clone the repository:

    git clone https://github.com/LucasDaSilva96/Airbean-API.git cd airbean-api

  2. Install dependencies:

    npm install

  3. Set up environment variables: Create a .env file in the root directory and add the necessary environment variables (e.g., database connection string, JWT secret).

  4. Start the server:

    npm run dev

The server should now be running on http://localhost:8000.

API-ENDPOINTS:

Technologies Used

  • Programming Language: JavaScript
  • Runtime Environment: Node.js
  • Web Framework: Express.js
  • Database: MongoDB
  • ODM (Object Data Modeling): Mongoose
  • Authentication: JWT (JSON Web Tokens)
  • Environment Variables: dotenv
  • Password Handling: bcrypt
  • Validation: Validator
  • Date and Time Management: Moment.js, Moment Timezone
  • Development Tools: Nodemon
  • CORS Handling: CORS (Cross-Origin Resource Sharing)

Authors

LucasDaSilva96 (Lucas Da Silva) (github.com), SanJuan99 (Johan Berg Ekvall) (github.com), W-nn-e (Winnie) (github.com), Loushymooshy (github.com), philipalgebrink (Philip Älgebrink) (github.com)

About

Ett API för webbappen Airbean där det går att beställa kaffe och få den levererad via drönare.

Resources

Stars

1 star

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages