Giter VIP home page Giter VIP logo

wilt's Introduction

WILT

WILT stands for What I'v Learn't Today. The repo builds a platform where you can share anything learnt today such as how you accomplish a hard but yet a simple task, shortcuts you have discovered.

Structure

Codebase Description
star Angular frontend
wars Serverless backend built on nodejs, mongodb & Netlify Functions

Installation

Frontend

  1. Make sure you have nodejs installed in your system if not Click here to head at nodejs official site for installation
  2. After installing node js install @angular/cli by running npm i g @angular/[email protected]
  3. Run npm i in the root directory

Server

  1. Open the 'wars' folder and run npm install to get all dependencies

Since our backend is Serverless no power is needed to spin it. Here we have two methods to run the server:

Method 1

  1. Run npm start this method uses netlify-lambda as a project's dependency to run
  2. Head to localhost:9000/.netlify/functions/server/{SERVER AVAILABLE ROUTES}

Method 2 (More Preferable)

  1. Run npm install netlify-cli -g to get the netlify cli
  2. Now just run netlify dev in the root wars folder directory
  3. The API will be available at localhost:8888/.netlify/functions/server/${{SERVER AVAILABLE ROUTES}

This method is more preferable when it comes to deploying the functions to netlify it provides fast approach.

Resources

License

MIT

wilt's People

Contributors

shemmjunior avatar

Stargazers

Feisal Mkungile 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.