Skip to content

Code for my Web Applications Development module assignment

License

Notifications You must be signed in to change notification settings

enkr99/NetCoreVue

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ST0257: Web Applications Development

The following repository contains the code I submitted for my Web Applications Development module. The project is a Timesheet Management system for a fictional dance studio. I built the admin dashboard using Vue.js.

Requirements

  • .NET Core SDK 2.0
  • SQL Server
  • Node.js (developed on v8.4.x, although earlier/later versions should work. Let me know!)

Instructions for Ah Tan (and whoever he tells to clone this 😛)

  1. Clone the repository.
$ git clone https://github.com/JingYenLoh/NetCoreVue.git
  1. Configure your connection strings in appsettings.json. It should not be necessary to modify ApplicationDbContext.cs.
  2. Run the following commands to restore packages:
# Restore .NET packages
$ dotnet restore

# Restore node_modules using npm
$ npm install

# OR, if you prefer yarn over npm
$ yarn

Note that windows users may experience an issue with the node-sass version. If so, run npm upgrade node-sass.

  1. Run the following commands to setup and start the dev server.
$ npm run install # OR yarn run install
$ npm run build   # OR yarn run build
$ npm run dev     # OR yarn run dev
  1. Go to localhost:5000. The app should be up and running.

Issues

Apparently the UserInfo isn't getting seeded properly. I'll need to investigate into this, but feel free to file an issue with the details to motivate my lazy bum to fix this.

[Solved] Since UserInfo is a table that is manually created, it is not handled by ASP.NET Core by default, the table have to be seeded just like any other tables.

About

Code for my Web Applications Development module assignment

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 63.4%
  • Vue 21.6%
  • HTML 11.5%
  • JavaScript 3.4%
  • PowerShell 0.1%