Skip to content

Backend server for the Share A Meal Android app. This app is created for educational purposes.

License

Notifications You must be signed in to change notification settings

martijnschermers/share-a-meal

Repository files navigation

Share a Meal

Deploy to Heroku

This repository contains the source code of the share-a-meal backend server. The application is written with Node/Express.

Description

This application provides a Node server that serves various endpoints. It is written based on the REST architecture. It is possible to add meals and users and retrieve the added meals and users. All the other CRUD operations are possible as well, such as updating a user for example.

Run Locally

Clone the project

  git clone https://github.com/martijnschermers/share-a-meal.git

Go to the project directory

  cd share-a-meal

Install dependencies

  npm install

Create a local database

  cd share-a-meal
  mysql -u root
  CREATE DATABASE share_a_meal;
  USE share_a_meal;
  SOURCE database.sql;

Start the database with XAMPP

Start the server

  npm run dev

Running Tests

To run tests, run the following command

  npm run test

Tech Stack

Server: Node, Express, MySQL

Authors

About

Backend server for the Share A Meal Android app. This app is created for educational purposes.

Topics

Resources

License

Stars

Watchers

Forks